This commit is contained in:
Wuesteon 2025-12-04 00:32:13 +01:00
parent 16cb8e753b
commit e9caa4a217
46 changed files with 1784 additions and 728 deletions

View file

@ -1,11 +0,0 @@
// @ts-check
import { baseConfig, typescriptConfig, prettierConfig } from '@manacore/eslint-config';
export default [
{
ignores: ['dist/**', '.astro/**', 'node_modules/**'],
},
...baseConfig,
...typescriptConfig,
...prettierConfig,
];

View file

@ -12,7 +12,7 @@ export interface Toast {
function createToastStore() {
const { subscribe, update } = writable<Toast[]>([]);
function addToast(message: string, type: ToastType = 'info', duration: number = 3000) {
function addToast(message: string, type: ToastType = 'info', duration = 3000) {
const id = `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
const toast: Toast = {