From aa0d2e86a57ed62a1d183b249e7d78199864dec0 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Fri, 19 Jun 2026 05:01:55 -0500 Subject: [PATCH] Get rid of some stray files left behind by merge --- gui/src/components/ErrorConsentModal.tsx | 60 ------------------- .../onboarding/OnboardingContextProvicer.tsx | 16 ----- 2 files changed, 76 deletions(-) delete mode 100644 gui/src/components/ErrorConsentModal.tsx delete mode 100644 gui/src/components/onboarding/OnboardingContextProvicer.tsx diff --git a/gui/src/components/ErrorConsentModal.tsx b/gui/src/components/ErrorConsentModal.tsx deleted file mode 100644 index 358a80e16..000000000 --- a/gui/src/components/ErrorConsentModal.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import { Localized, useLocalization } from '@fluent/react'; -import { BaseModal } from './commons/BaseModal'; -import { Button } from './commons/Button'; -import { Typography } from './commons/Typography'; - -export function ErrorConsentModal({ - isOpen = true, - cancel, - accept, -}: { - /** - * Is the parent/sibling component opened? - */ - isOpen: boolean; - /** - * Function to trigger when you still want to close the app - */ - accept: () => void; - /** - * Function to trigger when cancelling app close - */ - cancel?: () => void; -}) { - const { l10n } = useLocalization(); - - return ( - -
- <> -
-
- - {l10n.getString('error_collection_modal-title')} - - , - h1: , - }} - > - - -
-
- - - - -
-
- ); -} diff --git a/gui/src/components/onboarding/OnboardingContextProvicer.tsx b/gui/src/components/onboarding/OnboardingContextProvicer.tsx deleted file mode 100644 index 97d049bb0..000000000 --- a/gui/src/components/onboarding/OnboardingContextProvicer.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { ReactNode } from 'react'; -import { OnboardingContextC, useProvideOnboarding } from '@/hooks/onboarding'; - -export function OnboardingContextProvider({ - children, -}: { - children: ReactNode; -}) { - const context = useProvideOnboarding(); - - return ( - - {children} - - ); -}