From 5166e47a2dc4de4c331b302d347098b896cf4fea Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Sun, 5 Nov 2023 21:00:09 +0100 Subject: [PATCH] fix eslint warning --- src/views/pending-post/pending-post.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/pending-post/pending-post.tsx b/src/views/pending-post/pending-post.tsx index b2961246..5b460e1e 100644 --- a/src/views/pending-post/pending-post.tsx +++ b/src/views/pending-post/pending-post.tsx @@ -15,7 +15,7 @@ const PendingPost = () => { if (post?.cid && post?.subplebbitAddress) { navigate(`/p/${post?.subplebbitAddress}/c/${post?.cid}`, { replace: true }); } - }, [post]); + }, [post, navigate]); return ( <>