Remove extra open= prop in dialog example

I mistakenly added this in reaction to an error
This commit is contained in:
Ryan Gossiaux
2021-12-14 22:54:59 -08:00
parent df96d74003
commit 20e5360291

View File

@@ -48,7 +48,7 @@
<Nested on:close={() => (nested = false)} />
{/if}
<TransitionRoot show={isOpen} afterLeave={() => console.log("done")}>
<Dialog on:close={() => (isOpen = false)} open={isOpen}>
<Dialog on:close={() => (isOpen = false)}>
<div class="fixed z-10 inset-0 overflow-y-auto">
<div
class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"