🚨 fixed linter warnings

This commit is contained in:
Mawoka
2023-05-28 13:16:58 +02:00
parent c0bb8ce599
commit ef73234606
9 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script lang="ts">
import { alertModal } from '$lib/stores';
// import { alertModal } from '$lib/stores';
import { captcha_enabled } from '$lib/config';
import StartGameBackground from './start_game_background.svg';
import { fade } from 'svelte/transition';
+1 -1
View File
@@ -4,7 +4,7 @@
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script lang="ts">
import { mint } from '$lib/hashcash';
// import { mint } from '$lib/hashcash';
import { dataSchema } from '$lib/yupSchemas';
import type { EditorData, Question } from './quiz_types';
import Sidebar from '$lib/editor/sidebar.svelte';
+3 -3
View File
@@ -10,16 +10,16 @@
import { reach } from 'yup';
import { dataSchema } from '$lib/yupSchemas';
import Spinner from '../Spinner.svelte';
import { createTippy } from 'svelte-tippy';
// import { createTippy } from 'svelte-tippy';
import { getLocalization } from '$lib/i18n';
const { t } = getLocalization();
const tippy = createTippy({
/* const tippy = createTippy({
arrow: true,
animation: 'perspective-subtle',
placement: 'top'
});
});*/
export let data: EditorData;
export let selected_question: number;
+1 -1
View File
@@ -8,7 +8,7 @@
import { onDestroy, onMount } from 'svelte';
import { browser } from '$app/environment';
import * as Sentry from '@sentry/browser';
import { alertModal } from '../stores';
// import { alertModal } from '../stores';
import { getLocalization } from '$lib/i18n';
import Cookies from 'js-cookie';
import BrownButton from '$lib/components/buttons/brown.svelte';