fixed toast showing and pwa update modal

This commit is contained in:
Mamalizz
2025-03-13 20:20:27 +03:30
parent ba2ee16b92
commit 5ef29cda05
+13 -14
View File
@@ -16,26 +16,25 @@ const closeModal = () => {
<template>
<div>
<LoadingIndicator />
<NuxtPwaManifest />
<!-- <UpdatePwaModal-->
<!-- :isShow="updateAvailable"-->
<!-- @update="handleUpdate"-->
<!-- @close="closeModal"-->
<!-- />-->
<UpdatePwaModal
:isShow="updateAvailable"
@update="handleUpdate"
@close="closeModal"
/>
<NuxtLayout>
<ToastProvider>
<NuxtPage />
<ToastContainer />
<ToastViewport
class="[--viewport-padding:_25px] fixed bottom-0 left-0 flex flex-col p-[var(--viewport-padding)] gap-[10px] w-[390px] max-w-[100vw] m-0 list-none z-[2147483647] outline-none"
/>
</ToastProvider>
<NuxtPage />
</NuxtLayout>
<ToastProvider>
<ToastContainer />
<ToastViewport
class="[--viewport-padding:_25px] fixed bottom-0 left-0 flex flex-col p-[var(--viewport-padding)] gap-[10px] w-[390px] max-w-[100vw] m-0 list-none z-[9999999999999999] outline-none"
/>
</ToastProvider>
<VueQueryDevtools dir="ltr" buttonPosition="bottom-left" />
</div>
</template>