From 041cde1bbf105bc2c939e1f66d6f3a00a7687337 Mon Sep 17 00:00:00 2001 From: Jesse Bofill Date: Wed, 10 Jan 2024 10:22:01 -0700 Subject: [PATCH] chore: make overwrite profile modal destructive --- src/components/modals/TabProfileModals.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/modals/TabProfileModals.tsx b/src/components/modals/TabProfileModals.tsx index d6031e7..619a91c 100644 --- a/src/components/modals/TabProfileModals.tsx +++ b/src/components/modals/TabProfileModals.tsx @@ -5,6 +5,7 @@ import { TabMasterContextProvider } from "../../state/TabMasterContext"; import { TabProfileModalStyles } from "../styles/TabProfileModalStyles"; import { TabListLabel } from '../TabListLabel'; import { ScrollableWindow } from '../generic/ScrollableWindow'; +import { DestructiveModal } from '../generic/DestructiveModal'; export interface CreateTabProfileModalProps { tabMasterManager: TabMasterManager, @@ -70,7 +71,7 @@ export const OverwriteTabProfileModal: VFC = ({ p
- { tabMasterManager.tabProfileManager?.write(profileName, visibleTabsList.map(tabContainer => tabContainer.id)); @@ -109,7 +110,7 @@ export const OverwriteTabProfileModal: VFC = ({ p
- +
);