Skip to content

Commit 1def75b

Browse files
fix: suppress hydration warnings for web components (#5803)
1 parent 2f3263b commit 1def75b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/main/src/internal/withWebComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export const withWebComponent = <Props extends Record<string, any>, RefType = Ui
169169
{...regularProps}
170170
{...nonWebComponentRelatedProps}
171171
class={className}
172+
suppressHydrationWarning
172173
>
173174
{slots}
174175
{children}

0 commit comments

Comments
 (0)