diff --git a/client/src/app/@Modal/(.)new-post/page.tsx b/client/src/app/@Modal/(.)new-post/page.tsx deleted file mode 100644 index 2dfd2bc..0000000 --- a/client/src/app/@Modal/(.)new-post/page.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import AuthProtectorlayout from "@/app/(protectedRoute)/layout"; -import NewpostPage from "@/app/(protectedRoute)/new-post/page"; -import ModalWrapper from "@/components/ModalWrapper"; - -const NewPostPage = () => { - return ( - - - - - - ); -}; - -export default NewPostPage; diff --git a/client/src/app/@Modal/layout.tsx b/client/src/app/@Modal/layout.tsx index 18e98b8..f91e639 100644 --- a/client/src/app/@Modal/layout.tsx +++ b/client/src/app/@Modal/layout.tsx @@ -1,11 +1,11 @@ "use client"; -import { NEW_POST, SIGNIN } from "@/const/clientPath"; +import { SIGNIN } from "@/const/clientPath"; import { usePathname } from "next/navigation"; export default function Layout({ children }: any) { const pathname = usePathname(); - const allowedPath = [NEW_POST, SIGNIN]; + const allowedPath = [SIGNIN]; return allowedPath.some((path) => pathname.startsWith(path)) ? children diff --git a/client/src/components/FixedBottomCTA.tsx b/client/src/components/FixedBottomCTA.tsx index bc0044c..deb1135 100644 --- a/client/src/components/FixedBottomCTA.tsx +++ b/client/src/components/FixedBottomCTA.tsx @@ -5,7 +5,7 @@ const FixedBottomCTA = ({ ...props }: ButtonProps) => { <>