Skip to content

Commit 644fbe3

Browse files
committed
Fixed linting
1 parent e9d9775 commit 644fbe3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • src/Exceptionless.Web/ClientApp/src/lib/features/organizations

src/Exceptionless.Web/ClientApp/src/lib/features/organizations/api.svelte.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,6 @@ export function postOrganization() {
359359
onSuccess: (organization: ViewOrganization) => {
360360
queryClient.setQueryData(queryKeys.id(organization.id, 'stats'), organization);
361361
queryClient.setQueryData(queryKeys.id(organization.id, undefined), organization);
362-
// Invalidate organizations list so it includes the new org
363-
queryClient.invalidateQueries({ queryKey: queryKeys.type });
364-
// Invalidate user query since organization_ids changed on the backend
365-
queryClient.invalidateQueries({ queryKey: userQueryKeys });
366362
}
367363
}));
368364
}

0 commit comments

Comments
 (0)