🐛 Remove unwanted error toast for guests in dashboard

Closes #1844
This commit is contained in:
Baptiste Arnaud 2024-10-21 15:54:34 +02:00
parent 91fc9eb7c1
commit 6b6283fac4
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View File

@ -55,11 +55,6 @@ export const FolderContent = ({ folder }: Props) => {
},
{
enabled: !!workspace,
onError: (error) => {
showToast({
description: error.message,
});
},
},
);

View File

@ -31,7 +31,6 @@ const workspaceContext = createContext<{
createWorkspace: (name?: string) => Promise<void>;
updateWorkspace: (updates: { icon?: string; name?: string }) => void;
deleteCurrentWorkspace: () => Promise<void>;
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-ignore
}>({});