Skip to content

Commit

Permalink
Fixed an event potentially being a number and not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
MonokumaBear authored Mar 28, 2024
1 parent aef1e36 commit 195805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Preferences/Preferences.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ const Preferences = () => {
options={friendsApiUsageOptions}
value={friendsAPISelectedOption}
onChange={(e) => {
setFriendsAPISelectedOption(e);
setFriendsAPISelectedOption(String(e));
handleSettingChange('friendsApiUsage', e, 'internal');
}}
/>
Expand Down

0 comments on commit 195805a

Please sign in to comment.