fix: move line of forceupdate

pull/2656/head
tomobre 2 years ago
parent 18639ad8fd
commit c5a8b257cc

@ -47,9 +47,9 @@ export const SettingsCategoryPrivacy = (props: {
hasPassword: boolean | null;
onPasswordUpdated: (action: string) => void;
}) => {
const forceUpdate = useUpdate();
const isLinkPreviewsOn = Boolean(window.getSettingValue(SettingsKey.settingsLinkPreview));
const forceUpdate = useUpdate();
if (props.hasPassword !== null) {
return (
<>

Loading…
Cancel
Save