fix eslint warning

This commit is contained in:
plebeius.eth
2023-11-05 21:00:09 +01:00
parent 1dd1d8ca87
commit 5166e47a2d

View File

@@ -15,7 +15,7 @@ const PendingPost = () => {
if (post?.cid && post?.subplebbitAddress) {
navigate(`/p/${post?.subplebbitAddress}/c/${post?.cid}`, { replace: true });
}
}, [post]);
}, [post, navigate]);
return (
<>