Some Code Cleanup
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import type {EventFight, ExtendedEvent} from "../../../types/event.js";
|
||||
import type {EventFight, ExtendedEvent} from "@type/event.ts";
|
||||
import {
|
||||
Button,
|
||||
Checkbox, Input, Label,
|
||||
@@ -36,12 +36,12 @@
|
||||
} from "flowbite-svelte-icons";
|
||||
import FightCard from "./FightCard.svelte";
|
||||
import CreateFightModal from "./modals/CreateFightModal.svelte";
|
||||
import {fightRepo} from "../../../repo/repo";
|
||||
import {groups, players} from "../../../stores/stores";
|
||||
import {fightRepo} from "@repo/repo.ts";
|
||||
import {groups, players} from "@stores/stores.ts";
|
||||
import TypeAheadSearch from "../../components/TypeAheadSearch.svelte";
|
||||
import type {UpdateFight} from "../../../repo/fight.js";
|
||||
import type {UpdateFight} from "@repo/fight.ts";
|
||||
import dayjs from "dayjs";
|
||||
import * as duration from "dayjs/plugin/duration"
|
||||
import duration from "dayjs/plugin/duration"
|
||||
dayjs.extend(duration)
|
||||
|
||||
export let data: ExtendedEvent;
|
||||
|
||||
Reference in New Issue
Block a user