<template>
  <div />
</template>

<script setup>
import { useNotification } from "naive-ui";
import { callOnce } from "#imports";
await callOnce(() => {
  const { create } = useNotification();
  window.addEventListener("naiveui:notification:create", (event) => {
    const { detail } = event;
    create(detail);
  });
});
</script>
