fix: improvements in the dashboard
This commit is contained in:
@@ -42,7 +42,11 @@ export function OverviewShare({ projectId }: OverviewShareProps) {
|
||||
return (
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button icon={data?.public ? Globe2Icon : LockIcon} responsive>
|
||||
<Button
|
||||
icon={data?.public ? Globe2Icon : LockIcon}
|
||||
responsive
|
||||
loading={query.isLoading}
|
||||
>
|
||||
{data?.public ? 'Public' : 'Private'}
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
Reference in New Issue
Block a user