Skip to content

Commit 30e9bf7

Browse files
authored
Fixed isOpen
The MDC dialog component doesn't have a method named "isOpen()", it's actually a property.
1 parent 8cfd5a3 commit 30e9bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dialog/Dialog.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
}
5757
5858
export function isOpen(...args) {
59-
return dialog.isOpen(...args);
59+
return dialog.isOpen;
6060
}
6161
6262
export function layout(...args) {
6363
return dialog.layout(...args);
6464
}
65-
</script>
65+
</script>

0 commit comments

Comments
 (0)