comment out
This commit is contained in:
parent
c00f9b85f5
commit
63f633ab90
@ -51,11 +51,12 @@
|
|||||||
import AudioLine from "lucide-svelte/icons/audio-lines";
|
import AudioLine from "lucide-svelte/icons/audio-lines";
|
||||||
import Gem from "lucide-svelte/icons/gem";
|
import Gem from "lucide-svelte/icons/gem";
|
||||||
import stocknear_logo from "$lib/images/stocknear_logo.png";
|
import stocknear_logo from "$lib/images/stocknear_logo.png";
|
||||||
|
/*
|
||||||
import {
|
import {
|
||||||
requestNotificationPermission,
|
requestNotificationPermission,
|
||||||
sendNotification,
|
sendNotification,
|
||||||
} from "$lib/notifications";
|
} from "$lib/notifications";
|
||||||
|
*/
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
|
||||||
@ -95,6 +96,7 @@
|
|||||||
//pushNotification()
|
//pushNotification()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
// Send notification and handle click redirection
|
// Send notification and handle click redirection
|
||||||
async function handleNotificationClick() {
|
async function handleNotificationClick() {
|
||||||
const permissionGranted = await requestNotificationPermission();
|
const permissionGranted = await requestNotificationPermission();
|
||||||
@ -108,7 +110,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Check Service Worker (SW)
|
//Check Service Worker (SW)
|
||||||
/*
|
|
||||||
async function detectSWUpdate() {
|
async function detectSWUpdate() {
|
||||||
try {
|
try {
|
||||||
const registration = await navigator.serviceWorker.ready;
|
const registration = await navigator.serviceWorker.ready;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user