ThemeSelector: okay but definitely use onChange, not onBlur

This commit is contained in:
Alex Gleason 2022-05-05 21:09:54 -05:00
parent 40dda8b274
commit b62a2db8a5
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -43,7 +43,7 @@ const ThemeSelector: React.FC<IThemeSelector> = ({ value, onChange }) => {
</div>
<select
onBlur={handleChange}
onChange={handleChange}
defaultValue={value}
className='focus:ring-indigo-500 focus:border-indigo-500 dark:bg-slate-800 dark:border-gray-600 block w-full pl-8 pr-12 sm:text-sm border-gray-300 rounded-md'
>