From 8bd8fe7d05be3bc5cbe9ecf41f25d8a8fac3b8d4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 12 Jun 2026 13:40:08 -0500 Subject: [PATCH] Remove Bot account toggle from profile settings The bot value stays in the form schema and is preserved on save; only the toggle UI is removed. Drops the now-unused Switch and Form sub-component imports. --- src/pages/ProfileSettings.tsx | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/pages/ProfileSettings.tsx b/src/pages/ProfileSettings.tsx index 1af0c765..d310c123 100644 --- a/src/pages/ProfileSettings.tsx +++ b/src/pages/ProfileSettings.tsx @@ -30,16 +30,8 @@ import { useUploadFile } from '@/hooks/useUploadFile'; import { useToast } from '@/hooks/useToast'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; -import { Switch } from '@/components/ui/switch'; -import { - Form, - FormControl, - FormDescription, - FormField, - FormItem, - FormLabel, -} from '@/components/ui/form'; +import { Form } from '@/components/ui/form'; import { Collapsible, CollapsibleContent, @@ -366,22 +358,6 @@ export function ProfileSettings() { - ( - -
- {t('profileSettings.advanced.botLabel')} - {t('profileSettings.advanced.botDescription')} -
- - - -
- )} - /> - {/* Your Key — private-key backup. Rendered inside Advanced but is not part of the form. */}