Remove Svelte upgrade compatibility code
This commit is contained in:
1 parent
1956790dde
commit
672a19f8f6
19 files changed
+105
-110
No files matched your search
@@ -1,6 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { stopPropagation } from 'svelte/legacy';
|
||||
|
||||
export const toggle = () => {
|
||||
expanded = !expanded
|
||||
}
|
||||
@@ -62,7 +60,7 @@ let {
|
||||
{@render header?.()}
|
||||
</div>
|
||||
|
||||
<button class="bucket_expand" onclick={stopPropagation(toggle)}>
|
||||
<button class="bucket_expand" onclick={e => {e.stopPropagation(); toggle()}}>
|
||||
{#if expanded}
|
||||
<i class="icon">expand_less</i>
|
||||
{:else}
|
||||
|
||||
Reference in new issue
Block a user