client: fix get isStar

This commit is contained in:
fantasticit 2022-06-30 14:48:51 +08:00
parent 808f7877eb
commit 1777f3f6ec
1 changed files with 7 additions and 5 deletions

View File

@ -34,11 +34,13 @@ export const WikiCard: React.FC<{ wiki: IWikiWithIsMember; shareMode?: boolean }
>
{wiki.name.charAt(0)}
</Avatar>
{!shareMode && (
<div className={styles.rightWrap}>
<Space>
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
</Space>
</div>
)}
</header>
<main>
<div style={{ marginBottom: 12 }}>