mirror of
https://github.com/Discreetly/frontend.git
synced 2026-01-08 20:38:04 -05:00
fix toast error and removed non-existent favicon
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon-256.png" />
|
||||
<meta name="msapplication-TileColor" content="#202626" />
|
||||
<meta name="theme-color" content="#FA5F5F" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { getToastStore } from '@skeletonlabs/skeleton';
|
||||
|
||||
const toastStore = getToastStore();
|
||||
|
||||
export function alert(alertMessage: string, timeout = 5000) {
|
||||
const toastStore = getToastStore();
|
||||
toastStore.trigger({ message: alertMessage, timeout: timeout });
|
||||
console.warn(alertMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user