diff --git a/ui/components/SettingsDialog.tsx b/ui/components/SettingsDialog.tsx index 4731331..8524aed 100644 --- a/ui/components/SettingsDialog.tsx +++ b/ui/components/SettingsDialog.tsx @@ -11,7 +11,7 @@ import React, { interface InputProps extends React.InputHTMLAttributes {} -function Input({ className, ...restProps }: InputProps) { +const Input = ({ className, ...restProps }: InputProps) => { return ( ); -} +}; interface SelectProps extends SelectHTMLAttributes { options: { value: string; label: string; disabled?: boolean }[]; } -function Select({ className, options, ...restProps }: SelectProps) { +const Select = ({ className, options, ...restProps }: SelectProps) => { return (