<script setup lang="ts">
import { useUiStore } from "../stores/ui";

const ui = useUiStore();
</script>

<template>
  <Teleport to="body">
    <div v-if="ui.toast" class="toast" role="status" aria-live="polite">{{ ui.toast }}</div>
  </Teleport>
</template>
