Use spaces, run prettier on project
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export function clamp(num: number, min: number, max: number) {
|
||||
return Math.min(Math.max(num, min), max);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user