Merge pull request #201 from WardPearce/fix/unused-imports

Fixed beercss being imported in unwanted places
This commit is contained in:
Ward
2024-05-02 15:26:36 +12:00
committed by GitHub
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -1,7 +1,5 @@
<script lang="ts">
import { bookmarkletSaveToUrl } from '$lib/bookmarklet';
import 'beercss';
import 'material-dynamic-colors';
import { _ } from 'svelte-i18n';
import { get } from 'svelte/store';
import {
+1 -3
View File
@@ -3,8 +3,6 @@
import { page } from '$app/stores';
import { peerJsOptions, removeWindowQueryFlag, setWindowQueryFlag } from '$lib/misc';
import type { PlayerEvents } from '$lib/player';
import 'beercss';
import 'material-dynamic-colors';
import type { DataConnection } from 'peerjs';
import Peer from 'peerjs';
import { onDestroy, onMount } from 'svelte';
@@ -113,7 +111,7 @@
<button
on:click={async () => {
await navigator.clipboard.writeText(
`${import.meta.env.VITE_DEFAULT_FRONTEND_URL}?sync=${$syncPartyPeerStore.id}`
`${import.meta.env.VITE_DEFAULT_FRONTEND_URL}?sync=${$syncPartyPeerStore?.id}`
);
}}
class="square round"