Skip to content

Commit

Permalink
Revert "fix: remember selected catalog tab when navigating to `/catal…
Browse files Browse the repository at this point in the history
…og/{id}`"

This reverts commit 65dcf54.
  • Loading branch information
moshloop authored Nov 5, 2024
1 parent 96c055b commit 6d3b999
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 84 deletions.
3 changes: 0 additions & 3 deletions src/components/Configs/ConfigDetailsTabs.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import useNavigateToPreviousVisitedCatalogTab from "@flanksource-ui/hooks/useNavigateToPreviousVisitedCatalogTab";
import { SearchLayout } from "@flanksource-ui/ui/Layout/SearchLayout";
import clsx from "clsx";
import { useAtom } from "jotai";
Expand Down Expand Up @@ -38,8 +37,6 @@ export function ConfigDetailsTabs({
}: ConfigDetailsTabsProps) {
const { id } = useParams();

useNavigateToPreviousVisitedCatalogTab();

const [, setRefreshButtonClickedTrigger] = useAtom(
refreshButtonClickedTrigger
);
Expand Down
81 changes: 0 additions & 81 deletions src/hooks/useNavigateToPreviousVisitedCatalogTab.tsx

This file was deleted.

0 comments on commit 6d3b999

Please sign in to comment.