Some Code Cleanup

This commit is contained in:
2023-12-27 19:16:54 +01:00
parent 3108d9bf20
commit 9a16c4b560
38 changed files with 87 additions and 105 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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;

View File

@@ -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();

View File

@@ -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;