diff --git a/apps/gitness/src/pages-v2/repo/repo-commits.tsx b/apps/gitness/src/pages-v2/repo/repo-commits.tsx index d996b36ad..402763e69 100644 --- a/apps/gitness/src/pages-v2/repo/repo-commits.tsx +++ b/apps/gitness/src/pages-v2/repo/repo-commits.tsx @@ -26,7 +26,6 @@ export default function RepoCommitsPage() { const { spaceId, repoId } = useParams() const [branchTagQuery, setBranchTagQuery] = useState('') const [page, setPage] = useQueryState('page', parseAsInteger.withDefault(1).withOptions({ history: 'push' })) - const routes = useRoutes() const commitsPath = routes.toRepoCommits({ spaceId, repoId }) const {