diff --git a/src/main/web/src/scenes/User/UserPost.tsx b/src/main/web/src/scenes/User/UserPost.tsx index 8683e926..709eb48c 100644 --- a/src/main/web/src/scenes/User/UserPost.tsx +++ b/src/main/web/src/scenes/User/UserPost.tsx @@ -35,7 +35,6 @@ export const UserPost: React.FC = (props: PostModel) => { const [comments] = useState(commentAmount); const [menuOpen, setMenuOpen] = useState(false); const [shareWindowOpen, setShareWindowOpen] = useState(false); - const currentPageURL: string = window.location.href; const location = useLocation(); const [shortDescription, setShortDescription] = useState(''); const searchParams: URLSearchParams = new URLSearchParams(window.location.search); @@ -247,7 +246,7 @@ export const UserPost: React.FC = (props: PostModel) => { )} {shareWindowOpen && (
- +