format: whole project

This commit is contained in:
James Xylight committed 2025-02-04 16:23:31 -08:00
1 parent b883b5f6e0
commit 80269cf275
79 files changed
+590 -612

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@
</script>
<script lang="ts">
import { preventDefault } from 'svelte/legacy';
import { preventDefault } from 'svelte/legacy'
import { goto } from '$app/navigation'
import { Badge, Material, Spinner, toast } from 'mono-svelte'
@@ -36,7 +36,7 @@
try {
const res: Instance[] = (
await fetch(`https://data.lemmyverse.net/data/instance.full.json`).then(
(r) => r.json()
(r) => r.json(),
)
)
.filter((i: Instance) => i.fed)
+4 -4
View File
@@ -1,8 +1,8 @@
import { LINKED_INSTANCE_URL } from "$lib/instance.js";
import { redirect } from "@sveltejs/kit";
import { LINKED_INSTANCE_URL } from '$lib/instance.js'
import { redirect } from '@sveltejs/kit'
export const load = () => {
if (LINKED_INSTANCE_URL) {
redirect(302, `/signup/${LINKED_INSTANCE_URL}`);
redirect(302, `/signup/${LINKED_INSTANCE_URL}`)
}
}
}