fix(frontend): consistency in the editor

This commit is contained in:
sam 2025-03-05 15:13:44 +01:00
parent 7d0df67c06
commit 790b39f730
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
5 changed files with 4 additions and 12 deletions

View file

@ -2,9 +2,7 @@
import { apiRequest } from "$api";
import ApiError, { type RawApiError } from "$api/error";
import { mergePreferences, type User } from "$api/models/user";
import CustomPreferencesNotice from "$components/editor/CustomPreferencesNotice.svelte";
import FieldsEditor from "$components/editor/FieldsEditor.svelte";
import NoscriptWarning from "$components/editor/NoscriptWarning.svelte";
import log from "$lib/log";
import ephemeralState from "$lib/state.svelte";
import type { PageData } from "./$types";
@ -38,7 +36,4 @@
);
</script>
<NoscriptWarning />
<CustomPreferencesNotice />
<FieldsEditor bind:fields {ok} {allPreferences} {update} />

View file

@ -2,9 +2,7 @@
import { apiRequest } from "$api";
import ApiError, { type RawApiError } from "$api/error";
import { mergePreferences, type User } from "$api/models/user";
import CustomPreferencesNotice from "$components/editor/CustomPreferencesNotice.svelte";
import FieldsEditor from "$components/editor/FieldsEditor.svelte";
import NoscriptWarning from "$components/editor/NoscriptWarning.svelte";
import log from "$lib/log";
import ephemeralState from "$lib/state.svelte";
import type { PageData } from "./$types";
@ -38,7 +36,4 @@
);
</script>
<NoscriptWarning />
<CustomPreferencesNotice />
<FieldsEditor bind:fields {ok} {allPreferences} {update} />