Skip to content

Commit 5a21187

Browse files
committed
refactor: rename stuff
1 parent 0276ccf commit 5a21187

53 files changed

Lines changed: 52 additions & 98 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Žsrc/lib/pages/Error.svelteβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<h3>{page.status}: {page.status === 404 ? $_("page-errors." + page.status) : page.error.message}</h3>
2+
3+
<script>
4+
import { _ } from "svelte-i18n";
5+
6+
import { page } from "$app/state";
7+
</script>

β€Žsrc/lib/pages/Help.svelteβ€Ž

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
<script context="module">
1717
import { error } from "@sveltejs/kit";
1818
19-
import PlayerProfileSidebar, {
20-
load as loadSidebar,
21-
} from "$lib/component/sidebars/PlayerProfileSidebar.svelte";
19+
import PlayerProfileSidebar, { load as loadSidebar } from "$lib/component/sidebars/PlayerProfileSidebar.svelte";
2220
2321
import { getPlayerProfile } from "$lib/services/profile.js";
2422
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55
<script context="module">
66
/**
7-
* @type {import('@sveltejs/kit').Load}
7+
* @type {import("@sveltejs/kit").Load}
88
*/
99
import { getPostPreview } from "$lib/services/posts.js";
10-
import { get } from "svelte/store";
1110
1211
export async function load(event) {
1312
const { parent } = event;

0 commit comments

Comments
Β (0)