fix(frontend): consistency in the editor
This commit is contained in:
parent
7d0df67c06
commit
790b39f730
5 changed files with 4 additions and 12 deletions
|
@ -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} />
|
||||
|
|
|
@ -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} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue