Use spaces, run prettier on project

This commit is contained in:
ZXY101
2023-09-22 11:06:16 +02:00
parent 4731884d2b
commit d20b49a2d3
42 changed files with 1071 additions and 1796 deletions

View File

@@ -1,4 +1,4 @@
export * from './snackbar'
export * from './upload'
export * from './misc'
export * from './modals'
export * from './snackbar';
export * from './upload';
export * from './misc';
export * from './modals';

View File

@@ -1,3 +1,3 @@
export function clamp(num: number, min: number, max: number) {
return Math.min(Math.max(num, min), max);
}
}

View File

@@ -1,4 +1,4 @@
import { writable } from "svelte/store";
import { writable } from 'svelte/store';
type ConfirmationPopup = {
open: boolean;
@@ -14,4 +14,3 @@ export function promptConfirmation(message: string, onConfirm?: () => void) {
onConfirm
});
}

View File

@@ -1,4 +1,4 @@
import { writable } from "svelte/store";
import { writable } from 'svelte/store';
type Snackbar = {
visible: boolean;
@@ -15,4 +15,4 @@ export function showSnackbar(message: string, duration = 3000) {
setTimeout(() => {
snackbarStore.set(undefined);
}, duration);
}
}