Removed resetSkeleton on popover dismiss

As the skeleton is already reset when it opens, it's redundant to reset it while it's not being displayed
This commit is contained in:
Alexis
2024-06-05 17:18:48 +02:00
parent 46f2b0bbed
commit b71f7745a4

View File

@@ -32,14 +32,6 @@ function openEventCreatePopover() {
}
}
// Watch the popover state
// And reset the skeleton if it has been dismissed
watch(popoverOpen, (hasOpened, _o) => {
if (!hasOpened) {
resetSkeleton()
}
})
async function handleSubmit() {
try {
await submitSkeleton()