<script setup lang="ts">
import { Toaster } from "vue-sonner";
import { useUserStore } from "~/stores";
import "vue-sonner/style.css";

const userStore = useUserStore();

onMounted(() => {
  userStore.getUserInfo();
});
</script>

<template>
  <div class="min-h-dvh">
    <Toaster position="top-center" />
    <NuxtLayout>
      <NuxtPage />
    </NuxtLayout>
  </div>
</template>
