This commit is contained in:
Rizky 2024-05-15 15:00:04 +07:00
parent 9397ebc5ca
commit 33fc9bf1b4
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,6 +45,7 @@ export const initExtNotif = async (vi: VG, prasi_ext: PrasiExt) => {
if (window.parent) {
window.addEventListener("message", async ({ data: raw }) => {
if (typeof raw === "object" && raw.mobile) {
console.log(raw);
const data = raw as unknown as
| {
type: "notification-token";