Moved KeyInfoView to refactored folder, added deprecation notice

This commit is contained in:
= 2025-10-06 09:45:58 -07:00
parent 03804cb1d2
commit 3f53d6b7ad
2 changed files with 8 additions and 1 deletions

View file

@ -15,10 +15,10 @@ import { KeyResponse, Team } from "@/components/key_team_helpers/key_list";
import { Organization, userListCall } from "@/components/networking";
import { getModelDisplayName } from "@/components/key_team_helpers/fetch_available_models_team_key";
import FilterComponent, { FilterOption } from "@/components/molecules/filter";
import KeyInfoView from "@/components/templates/key_info_view";
import { useFilterLogic } from "@/components/key_team_helpers/filter_logic";
import useTeams from "@/app/(console)/virtual-keys/hooks/useTeams";
import useAuthorized from "@/app/(console)/hooks/useAuthorized";
import KeyInfoView from "@/app/(console)/virtual-keys/components/KeyInfoView";
interface AllKeysTableProps {
keys: KeyResponse[];

View file

@ -47,6 +47,13 @@ interface KeyInfoViewProps {
backButtonText?: string;
}
/**
* ─────────────────────────────────────────────────────────────────────────
* @deprecated
* This component is being DEPRECATED in favor of src/app/(console)/virtual-keys/components/KeyInfoView.tsx
* Please contribute to the new refactor.
* ─────────────────────────────────────────────────────────────────────────
*/
export default function KeyInfoView({
keyId,
onClose,