chore: run prettier

This commit is contained in:
David Ralph
2024-09-05 20:49:25 +01:00
parent 5b6014e66a
commit 850e7ef11a
3 changed files with 201 additions and 136 deletions

View File

@@ -172,11 +172,14 @@ export default class CustomSettings extends PureComponent {
return toast(variables.getMessage('toasts.no_storage'));
}
this.customBackground({
target: {
result: await filetoDataURL(res),
}
}, this.state.currentBackgroundIndex);
this.customBackground(
{
target: {
result: await filetoDataURL(res),
},
},
this.state.currentBackgroundIndex,
);
});
e.preventDefault();
};

View File

@@ -16,7 +16,9 @@ function NavbarOptions() {
const [showRefreshOptions, setShowRefreshOptions] = useState(
localStorage.getItem('refresh') === 'true',
);
const [appsEnabled, setAppsEnabled] = useState(localStorage.getItem('appsEnabled') === 'true' || false);
const [appsEnabled, setAppsEnabled] = useState(
localStorage.getItem('appsEnabled') === 'true' || false,
);
const NAVBAR_SECTION = 'modals.main.settings.sections.appearance.navbar';