From fef3a78bcadb794d02c7da1f1ec78fc4c23045c5 Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 29 May 2023 13:24:32 -0600 Subject: [PATCH] fix: [code-390]: fix useeffect --- .../RepositoryBranchesContent/RepositoryBranchesContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/RepositoryBranchesContent.tsx b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/RepositoryBranchesContent.tsx index 0853bb859..f21fd29a4 100644 --- a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/RepositoryBranchesContent.tsx +++ b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/RepositoryBranchesContent.tsx @@ -45,7 +45,7 @@ export function RepositoryBranchesContent({ repoMetadata }: Pick { updateQueryParams({ page: page.toString() }) - }, [page,updateQueryParams,setPage]) + }, [setPage]) useShowRequestError(error)