diff --git a/src/pages/SettingsPage/index.tsx b/src/pages/SettingsPage/index.tsx
index 181c5d4e80e873ddd82cad0b38473723f0f0e88b..441c7266b9c711b613da2f0ac8ab97ee89bc4f7f 100644
--- a/src/pages/SettingsPage/index.tsx
+++ b/src/pages/SettingsPage/index.tsx
@@ -14,12 +14,9 @@ type SettingsPageProps = {
 
 export default function SettingsPage(props: SettingsPageProps) {
   function changeTheme(event: ChangeEvent<HTMLInputElement>, value: string) {
-    localStorage.setItem('theme', value);
-    if (Object.prototype.hasOwnProperty.call(themes, value)) {
-      const theme = value as keyof typeof themes;
-      props.setTheme(themes[theme]);
-      props.setThemeName(theme);
-    }
+    const theme = value as keyof typeof themes;
+    props.setTheme(themes[theme]);
+    props.setThemeName(theme);
   }
   return (
     <Popup title="Settings" open={props.open} onClose={props.onClose} maxWidth="sm">