From a57675b8c3fdd568c98e33bc0f4096177407db6a Mon Sep 17 00:00:00 2001 From: createhb21 Date: Mon, 30 Sep 2024 16:46:21 +0900 Subject: [PATCH] feat: testing vercel deploy --- @natives/useHandleBottomNav.ts | 4 +--- components/BottomNav.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/@natives/useHandleBottomNav.ts b/@natives/useHandleBottomNav.ts index e044c1713..993aec09e 100644 --- a/@natives/useHandleBottomNav.ts +++ b/@natives/useHandleBottomNav.ts @@ -6,7 +6,7 @@ import { nativeMethodUtils } from "../utils/nativeMethodUtils"; type SlideDirectionType = string | null; -const useHandleMove = (setSlideDirection: SetterOrUpdater) => { +export const useHandleMove = (setSlideDirection: SetterOrUpdater) => { const handleHapticFeedback = useCallback(() => { if (isWebView()) { nativeMethodUtils.haptic(); @@ -20,5 +20,3 @@ const useHandleMove = (setSlideDirection: SetterOrUpdater) = return handleMove; }; - -export default useHandleMove; diff --git a/components/BottomNav.tsx b/components/BottomNav.tsx index d4286e47e..5fc61e98a 100644 --- a/components/BottomNav.tsx +++ b/components/BottomNav.tsx @@ -5,7 +5,7 @@ import { useSession } from "next-auth/react"; import { useSetRecoilState } from "recoil"; import styled from "styled-components"; -import useHandleMove from "../@natives/useHandleBottomNav"; +import { useHandleMove } from "../@natives/useHandleBottomNav"; import { getStudyStandardDate } from "../libs/study/date/getStudyStandardDate"; import { slideDirectionState } from "../recoils/navigationRecoils"; import { convertLocationLangTo } from "../utils/convertUtils/convertDatas";