diff --git a/src/components/home/PostModal.tsx b/src/components/home/PostModal.tsx index 65c7be63..ddcf2981 100644 --- a/src/components/home/PostModal.tsx +++ b/src/components/home/PostModal.tsx @@ -25,7 +25,7 @@ export default function SiteModal({ children }: { children: JSX.Element }) { className="text-3xl absolute bottom-full text-white cursor-pointer" onClick={() => { window.open(window.location.href) - setOpen(false) + router.back() }} >