mirror of
https://github.com/mue/mue.git
synced 2026-07-08 21:24:57 +02:00
chore: run prettier
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user