nits
This commit is contained in:
@@ -192,7 +192,7 @@ export default function NetworkSettingsPage() {
|
||||
},
|
||||
{ replace: true },
|
||||
);
|
||||
}, [setSearchParams]);
|
||||
}, [setSearchParams, searchParams]);
|
||||
|
||||
const networkName = network?.name ?? 'Network';
|
||||
const memberCount = network?.humans.length ?? 0;
|
||||
@@ -293,7 +293,7 @@ export default function NetworkSettingsPage() {
|
||||
<SectionHeading
|
||||
title="Pending invitations"
|
||||
description="Invites that haven't been accepted yet."
|
||||
count={pendingCount}
|
||||
count={pendingCount > 0 ? pendingCount : undefined}
|
||||
/>
|
||||
{invitationsError ? (
|
||||
<Panel>
|
||||
|
||||
Reference in New Issue
Block a user