Formatted code
This commit is contained in:
@@ -9,14 +9,14 @@ SPDX-License-Identifier: MPL-2.0
|
||||
import ControllerCodeDisplay from '$lib/components/controller/code.svelte';
|
||||
import { getLocalization } from '$lib/i18n';
|
||||
import GrayButton from '$lib/components/buttons/gray.svelte';
|
||||
import {fade} from 'svelte/transition';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
export let game_pin: string;
|
||||
export let players;
|
||||
export let socket;
|
||||
export let cqc_code: string;
|
||||
|
||||
let fullscreen_open = false
|
||||
let fullscreen_open = false;
|
||||
const { t } = getLocalization();
|
||||
let play_music = false;
|
||||
|
||||
@@ -52,7 +52,7 @@ SPDX-License-Identifier: MPL-2.0
|
||||
</p>
|
||||
</div>
|
||||
<img
|
||||
on:click={() => fullscreen_open = true}
|
||||
on:click={() => (fullscreen_open = true)}
|
||||
alt="QR code to join the game"
|
||||
src="/api/v1/utils/qr/{game_pin}"
|
||||
class="block mx-auto w-1/2 dark:bg-white shadow-2xl rounded hover:cursor-pointer"
|
||||
|
||||
Reference in New Issue
Block a user