🎨 Improving error system, fixing profile store, and more stuff

This commit is contained in:
ChatonDeAru
2024-10-04 01:21:45 +02:00
parent 4bc3a58b3e
commit 8f21d3d615
17 changed files with 664 additions and 133 deletions

View File

@@ -11,6 +11,17 @@ auth.onAuthStateChange(async (event) => {
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<!-- TODO: add errors boundaries instead custom toast
<NuxtErrorBoundary @error="someErrorLogger">
<template #error="{ error, clearError }">
You can display the error locally here: {{ error }}
<button @click="clearError">
This will clear the error.
</button>
</template>
</NuxtErrorBoundary>
-->
</template>
<style>