diff --git a/src/components/config/VisualConfigEditor.tsx b/src/components/config/VisualConfigEditor.tsx index d75208c..9432aa3 100644 --- a/src/components/config/VisualConfigEditor.tsx +++ b/src/components/config/VisualConfigEditor.tsx @@ -1,10 +1,10 @@ -import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react'; +import { useMemo, useState, type ReactNode } from 'react'; import { useTranslation } from 'react-i18next'; import { Button } from '@/components/ui/Button'; import { Input } from '@/components/ui/Input'; import { Modal } from '@/components/ui/Modal'; +import { Select } from '@/components/ui/Select'; import { ToggleSwitch } from '@/components/ui/ToggleSwitch'; -import { IconChevronDown } from '@/components/ui/icons'; import { ConfigSection } from '@/components/config/ConfigSection'; import { useNotificationStore } from '@/stores'; import styles from './VisualConfigEditor.module.scss'; @@ -81,120 +81,6 @@ function Divider() { return
; } -type ToastSelectOption = { value: string; label: string }; - -function ToastSelect({ - value, - options, - disabled, - ariaLabel, - onChange, -}: { - value: string; - options: ReadonlyArray