fix
This commit is contained in:
parent
9397ebc5ca
commit
33fc9bf1b4
File diff suppressed because one or more lines are too long
|
|
@ -45,6 +45,7 @@ export const initExtNotif = async (vi: VG, prasi_ext: PrasiExt) => {
|
||||||
if (window.parent) {
|
if (window.parent) {
|
||||||
window.addEventListener("message", async ({ data: raw }) => {
|
window.addEventListener("message", async ({ data: raw }) => {
|
||||||
if (typeof raw === "object" && raw.mobile) {
|
if (typeof raw === "object" && raw.mobile) {
|
||||||
|
console.log(raw);
|
||||||
const data = raw as unknown as
|
const data = raw as unknown as
|
||||||
| {
|
| {
|
||||||
type: "notification-token";
|
type: "notification-token";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue