From 155681da0477816779f4a9e2611b59b78d43967e Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Thu, 30 Dec 2021 21:34:23 -0600 Subject: [PATCH] get rid of extraneous document reference --- .../webapp/elements/contexts/context-menu-connection-info.tsx | 2 +- src/client/webapp/elements/overlays/overlay-personalize.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/webapp/elements/contexts/context-menu-connection-info.tsx b/src/client/webapp/elements/contexts/context-menu-connection-info.tsx index 839c41f..3a29a73 100644 --- a/src/client/webapp/elements/contexts/context-menu-connection-info.tsx +++ b/src/client/webapp/elements/contexts/context-menu-connection-info.tsx @@ -35,7 +35,7 @@ const ConnectionInfoContextMenu: FC = (props: Co const openPersonalize = useCallback(() => { close(); - setOverlay( setOverlay(null)} />); + setOverlay( setOverlay(null)} />); }, [ guild, selfMember, close ]); const alignment = useMemo(() => { diff --git a/src/client/webapp/elements/overlays/overlay-personalize.tsx b/src/client/webapp/elements/overlays/overlay-personalize.tsx index 0aca1cd..73e82b4 100644 --- a/src/client/webapp/elements/overlays/overlay-personalize.tsx +++ b/src/client/webapp/elements/overlays/overlay-personalize.tsx @@ -16,13 +16,12 @@ import Overlay from '../components/overlay'; import { useResourceSubscription } from '../require/guild-subscriptions'; export interface PersonalizeOverlayProps { - document: Document; guild: CombinedGuild; selfMember: Member; close: () => void; } const PersonalizeOverlay: FC = (props: PersonalizeOverlayProps) => { - const { document, guild, selfMember, close } = props; + const { guild, selfMember, close } = props; const rootRef = useRef(null);