diff --git a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx index e2e41b1af..a47ce602c 100644 --- a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx +++ b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx @@ -4,7 +4,6 @@ import type { CellProps, Column } from 'react-table' import { Link, useHistory } from 'react-router-dom' import cx from 'classnames' import Keywords from 'react-keywords' -import { orderBy } from 'lodash-es' import { useMutate } from 'restful-react' import { String, useStrings } from 'framework/strings' import { useAppContext } from 'AppContext' @@ -136,7 +135,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel } } ], - [getString, repoMetadata.defaultBranch, repoMetadata.path, routes, searchTerm, history] + [getString, repoMetadata.defaultBranch, repoMetadata.path, routes, searchTerm, history, onDeleteSuccess] ) return ( @@ -144,7 +143,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel