diff --git a/frontend/src/pages/Frontpage/Post.jsx b/frontend/src/pages/Frontpage/Post.jsx index efca766..e69bf61 100644 --- a/frontend/src/pages/Frontpage/Post.jsx +++ b/frontend/src/pages/Frontpage/Post.jsx @@ -103,6 +103,41 @@ const Post = ({ // window.location.reload(); // }; + const handleButtonsShow = () => { + if (!document.cookie) return null; + const storedPostTypes = JSON.parse(localStorage.getItem('firebaseui::rememberedAccounts')); + if (!storedPostTypes) return null; + + return ( + <> +