Some Code Cleanup
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
|
||||
<script lang="ts">
|
||||
import {createEventDispatcher} from "svelte";
|
||||
import {schemRepo} from "@repo/repo";
|
||||
import {Modal, Spinner} from "flowbite-svelte";
|
||||
import SchematicInfoModal from "./SchematicInfoModal.svelte";
|
||||
import type {Player} from "@type/data.ts";
|
||||
import {schemRepo} from "@repo/schem.ts";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
import {Modal} from "flowbite-svelte";
|
||||
import type {SchematicInfo} from "@type/schem.ts";
|
||||
import {createEventDispatcher} from "svelte";
|
||||
import {schemRepo} from "@repo/repo";
|
||||
import type {Player} from "@type/data.ts";
|
||||
import dayjs from "dayjs";
|
||||
import {schemRepo} from "@repo/schem.ts";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import type {Player} from "@type/data.ts";
|
||||
import {statsRepo} from "@repo/repo.ts";
|
||||
import {astroI18n, t} from "astro-i18n"
|
||||
import {statsRepo} from "@repo/stats.ts";
|
||||
|
||||
export let user: Player;
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import {Modal} from "flowbite-svelte";
|
||||
import {schemRepo} from "@repo/repo.ts";
|
||||
import {createEventDispatcher} from "svelte";
|
||||
import {schemRepo} from "@repo/schem.ts";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
||||
@@ -20,9 +20,10 @@
|
||||
<script lang="ts">
|
||||
import {t} from "astro-i18n";
|
||||
import type {Player} from "@type/data.ts";
|
||||
import {authRepo, tokenStore} from "@repo/repo.ts";
|
||||
import {l} from "@utils/util.ts";
|
||||
import Statistics from "./Statistics.svelte";
|
||||
import {authRepo} from "@repo/auth.ts";
|
||||
import {tokenStore} from "@repo/repo.ts";
|
||||
|
||||
export let user: Player;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user