Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 7c4b564

Browse files
authored
fix: hydration for ebay-accordion (#2455)
1 parent 823c74f commit 7c4b564

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.changeset/angry-lemons-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ebay/ebayui-core": patch
3+
---
4+
5+
Fix hydration for accordion

src/components/ebay-accordion/index.marko

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { processHtmlAttributes } from "../../common/html-attributes";
22

3-
static function noop() {}
4-
53
$ const {
64
class: inputClass,
75
size,
@@ -11,8 +9,6 @@ $ const {
119
...htmlInput
1210
} = input;
1311

14-
$ (input as any).toJSON = noop;
15-
1612
<ul
1713
...processHtmlAttributes(htmlInput)
1814
class=["accordion", size === "large" && "accordion--large", inputClass]

0 commit comments

Comments
 (0)