File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 112112 ondragexit ={handleDragOut }
113113 ondragleave ={handleDragOut }
114114 >
115- <form method = " dialog " >
116- < button
117- aria-label = " Close modal "
118- class = " absolute text-subtext0 hover:text-text bg-transparent top-4 right-4 rounded-full "
119- ><div class =" i-mingcute-close-circle-line size-6" ></div ></button
120- >
121- </ form >
115+ <button
116+ aria-label = " Close modal "
117+ class = " absolute text-subtext0 hover:text-text bg-transparent top-4 right-4 rounded-full "
118+ onclick ={() => ( isOpen = false )}
119+ ><div class =" i-mingcute-close-circle-line size-6" ></div ></button
120+ >
121+
122122 <div class =" flex flex-col mt-2 gap1" >
123123 <h1 class =" font-bold text-rosewater" >Import colors 🎨</h1 >
124124 <p class =" max-w-[60ch]" >
171171 {/if }
172172
173173 <div class =" flex gap-6" >
174- <form method =" dialog" >
175- <Button variant =" link" class =" mt-6" >Cancel</Button >
176- </form >
174+ <Button variant ="link" class ="mt-6" onclick ={() => (isOpen = false )}>Cancel</Button >
175+
177176 <Button
178177 onclick ={() => {
179178 if (! importedColors ) return
You can’t perform that action at this time.
0 commit comments