From d9dc63b17175824822c9da4e16e800947c5839a8 Mon Sep 17 00:00:00 2001 From: gabrielyoon7 Date: Wed, 25 Oct 2023 23:21:52 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=ED=83=80=EC=9E=85=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=20=EC=88=98=EC=A0=95"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 337debb2ad3eb921aae299c9756eb2df71fb8c36. --- 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 d145bd973..ac8913773 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 type { PropsWithChildren } from 'react'; import { useEffect } from 'react'; +import type { PropsWithChildren } 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: MouseEvent) => event.stopPropagation()} + onClick={(event) => 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 46273ec33..1238f1cd2 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 && }