= ({
'flex flex-1 items-center justify-between px-4',
)}>
-
+
- {/* Add it when has many stars */}
-
-
-
{t('common.menus.status')}
-
+ {
+ starCount > 0 && (
+
+
+
{`${starCount}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')}
+
+ )
+ }
}> = ({ url, body }) => {
@@ -73,7 +73,7 @@ export const updateMemberRole: Fetcher
}
-export const deleteMemberOrCancelInvitation: Fetcher = ({ url }) => {
+export const deleteMemberOrCancelInvitation: Fetcher = ({ url }) => {
return del(url) as Promise
}
@@ -88,4 +88,3 @@ export const fetchWorkspaces: Fetcher<{ workspaces: IWorkspace[] }, { url: strin
export const switchWorkspace: Fetcher }> = ({ url, body }) => {
return post(url, { body }) as Promise
}
-