diff --git a/src/App.tsx b/src/App.tsx index 8fd1514..6ee11cd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import "./App.css"; import AppRouter from "./Router"; +import { useEffect } from "react"; function App() { const queryClient = new QueryClient({ @@ -16,6 +17,11 @@ function App() { }, }); + useEffect(() => { + alert("더이상 사용되지 않는 페이지입니다. 트위터 맛집 검색기 내에서 이용해주세요 :)"); + window.location.href = "https://twitter-michelin.web.app/smallshop"; + }, []); + return ( <>