From c3d5b2557c58d48153a5518fcece9b621586f858 Mon Sep 17 00:00:00 2001 From: gabrielyoon7 Date: Wed, 25 Oct 2023 23:32:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=83=80=EC=9E=85=20=EB=88=84=EB=9D=BD?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [#903] --- frontend/src/components/ui/Navigator/ProfileMenu/Menus.tsx | 4 ++-- .../src/components/ui/Navigator/ProfileMenu/ProfileMenu.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ui/Navigator/ProfileMenu/Menus.tsx b/frontend/src/components/ui/Navigator/ProfileMenu/Menus.tsx index ac8913773..d145bd973 100644 --- a/frontend/src/components/ui/Navigator/ProfileMenu/Menus.tsx +++ b/frontend/src/components/ui/Navigator/ProfileMenu/Menus.tsx @@ -1,7 +1,7 @@ import { css } from 'styled-components'; -import { useEffect } from 'react'; import type { PropsWithChildren } from 'react'; +import { useEffect } from 'react'; import ButtonNext from '@common/ButtonNext'; import FlexBox from '@common/FlexBox'; @@ -28,7 +28,7 @@ const Menus = ({ menus, closeMenu }: Props) => { alignItems="center" gap={0} css={containerCss} - onClick={(event) => event.stopPropagation()} + onClick={(event: MouseEvent) => event.stopPropagation()} > {menus.map(({ children, onClick }, index) => ( diff --git a/frontend/src/components/ui/Navigator/ProfileMenu/ProfileMenu.tsx b/frontend/src/components/ui/Navigator/ProfileMenu/ProfileMenu.tsx index 1238f1cd2..46273ec33 100644 --- a/frontend/src/components/ui/Navigator/ProfileMenu/ProfileMenu.tsx +++ b/frontend/src/components/ui/Navigator/ProfileMenu/ProfileMenu.tsx @@ -31,7 +31,7 @@ const ProfileMenu = ({ menus }: Props) => { }; return ( - event.stopPropagation()}> + event.stopPropagation()}> {isOpen && }