Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@
spaceDescription: values.description,
spaceColor: values.color ?? 'cyan',
spaceType: values.type
}).catch(() => null);
})
.then(() => {
platform.useUtils().spaces.getOrgMemberSpaces.invalidate();

Check failure on line 103 in apps/web/src/app/[orgShortcode]/_components/new-space-modal.tsx

View workflow job for this annotation

GitHub Actions / autofix

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator

Check failure on line 103 in apps/web/src/app/[orgShortcode]/_components/new-space-modal.tsx

View workflow job for this annotation

GitHub Actions / Check and Build

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
})
.catch(() => null);
form.reset();
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function SpaceItem({
<DotsThree />
</Button>
{/* </DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuContent>
TODO: Add in with the notifications
<DropdownMenuSub>
<DropdownMenuSubTrigger>Notifications</DropdownMenuSubTrigger>
Expand All @@ -154,7 +154,7 @@ function SpaceItem({
</DropdownMenuRadioGroup>
</DropdownMenuSubContent>
</DropdownMenuPortal>
</DropdownMenuSub>
</DropdownMenuSub>
<DropdownMenuSeparator />
<DropdownMenuItem
onSelect={() => {
Expand Down
Loading