diff --git a/src/design-system/molecules/editor-category/EditorCategory.stories.tsx b/src/design-system/molecules/editor-category/EditorCategory.stories.tsx
index e4b1be9..7cca233 100644
--- a/src/design-system/molecules/editor-category/EditorCategory.stories.tsx
+++ b/src/design-system/molecules/editor-category/EditorCategory.stories.tsx
@@ -1,11 +1,10 @@
import * as React from 'react';
-import { EditorCategory } from './EditorCategory';
import {
mockCategory,
- roleCategory2,
roleCategory,
- guildRoles,
-} from 'roleypoly/src/design-system/shared-types/storyData';
+ roleCategory2,
+} from 'roleypoly/common/types/storyData';
+import { EditorCategory } from './EditorCategory';
export default {
title: 'Molecules/Editor/Category',
diff --git a/src/design-system/organisms/masthead/Authed.tsx b/src/design-system/organisms/masthead/Authed.tsx
index b501eb0..d2db496 100644
--- a/src/design-system/organisms/masthead/Authed.tsx
+++ b/src/design-system/organisms/masthead/Authed.tsx
@@ -1,14 +1,7 @@
import Link from 'next/link';
import * as React from 'react';
import { GoOrganization } from 'react-icons/go';
-import { Guilds } from 'roleypoly/backend-worker/utils/kv';
-import {
- DiscordUser,
- GuildEnumeration,
- GuildSlug,
- RoleypolyUser,
-} from 'roleypoly/common/types';
-import { guildEnum } from 'roleypoly/common/types/storyData';
+import { DiscordUser, GuildSlug } from 'roleypoly/common/types';
import { DynamicLogomark } from 'roleypoly/design-system/atoms/branding';
import { Popover } from 'roleypoly/design-system/atoms/popover';
import { GuildNav } from 'roleypoly/design-system/molecules/guild-nav';
@@ -71,7 +64,7 @@ export const Authed = (props: Props) => {
active={serverPopoverState}
onExit={() => setServerPopoverState(false)}
>
-
+ {() => }
@@ -91,7 +84,7 @@ export const Authed = (props: Props) => {
active={userPopoverState}
onExit={() => setUserPopoverState(false)}
>
- {props.user && }
+ {() => props.user && }
diff --git a/src/design-system/templates/role-picker/RolePicker.tsx b/src/design-system/templates/role-picker/RolePicker.tsx
index bcbfa0e..a692a59 100644
--- a/src/design-system/templates/role-picker/RolePicker.tsx
+++ b/src/design-system/templates/role-picker/RolePicker.tsx
@@ -1,5 +1,4 @@
import * as React from 'react';
-import { GuildEnumeration, RoleypolyUser } from 'roleypoly/common/types';
import { AppShell, AppShellProps } from 'roleypoly/design-system/organisms/app-shell';
import {
RolePicker,
@@ -9,15 +8,9 @@ import {
export type RolePickerTemplateProps = RolePickerProps & AppShellProps;
export const RolePickerTemplate = (props: RolePickerTemplateProps) => {
- const { user, ...pickerProps } = props;
+ const { user, guilds, activeGuildId, ...pickerProps } = props;
return (
-
+
);
diff --git a/src/providers/auth/AuthContext.tsx b/src/providers/auth/AuthContext.tsx
index 21da7bf..eaf7224 100644
--- a/src/providers/auth/AuthContext.tsx
+++ b/src/providers/auth/AuthContext.tsx
@@ -38,5 +38,3 @@ export const isAuthenticated = () => {
const authCtx = useAuth();
return authCtx.sessionKey !== null;
};
-
-export const;