We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb4204 commit ebbdc4eCopy full SHA for ebbdc4e
1 file changed
apps/connect/src/components/CreateSpaceCard.tsx
@@ -84,7 +84,7 @@ export function CreateSpaceCard({ className, ...props }: CreateSpaceCardProps) {
84
});
85
const data = await response.json();
86
if (data.space) {
87
- queryClient.invalidateQueries({ queryKey: ['spaces'] });
+ queryClient.invalidateQueries({ queryKey: ['private-spaces'] });
88
setSpaceName('');
89
} else {
90
throw new Error('Failed to create space');
0 commit comments