diff --git a/apps/dashboard/src/pages/group.tsx b/apps/dashboard/src/pages/group.tsx index 6a59ccc8..3f93962a 100644 --- a/apps/dashboard/src/pages/group.tsx +++ b/apps/dashboard/src/pages/group.tsx @@ -49,7 +49,7 @@ export default function GroupPage(): JSX.Element { const [_group, setGroup] = useState() const { hasCopied, setValue: setApiKey, onCopy } = useClipboard("") const { hasCopied: hasCopiedGroupId, onCopy: onCopyGroupId } = useClipboard( - groupId as string + groupId || "" ) const [_searchMember, setSearchMember] = useState("") const [_removeGroupName, setRemoveGroupName] = useState("")