Skip to content

Commit

Permalink
cleanup: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-harris committed Sep 16, 2024
1 parent 14a1235 commit 645ccc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 188 deletions.
2 changes: 1 addition & 1 deletion frontends/dashboard/src/components/ApiKeyGenerateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const ApiKeyGenerateModal = (props: {
}, false);

const currentUserRole = createMemo(() => {
const selectedOrgId = userContext.selectedOrganizationId?.();
const selectedOrgId = userContext.selectedOrganization().id;
if (!selectedOrgId) return 0;
return (
userContext
Expand Down
187 changes: 0 additions & 187 deletions frontends/dashboard/src/contexts/UserContext.tsxd demo

This file was deleted.

0 comments on commit 645ccc3

Please sign in to comment.