Fixed the Backend and added Voice recognition API

This commit is contained in:
Patrick_Pluto 2024-09-24 10:36:12 +02:00
parent 3588a4b703
commit de4a6145af
3 changed files with 27 additions and 11 deletions

View file

@ -16,7 +16,7 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
const [newEmail, setNewEmail] = useState('');
const [newPassword, setNewPassword] = useState('');
// Theme settings state
// Theme settings state
const [backgroundColor, setBackgroundColor] = useState<string>(getComputedStyle(document.documentElement).getPropertyValue('--background-color').trim());
const [textColor, setTextColor] = useState<string>(getComputedStyle(document.documentElement).getPropertyValue('--text-color').trim());
const [inputBackgroundColor, setInputBackgroundColor] = useState<string>(getComputedStyle(document.documentElement).getPropertyValue('--input-background-color').trim());