Skip to content

Commit 0d038a2

Browse files
committed
HOTIFX: wrong initial color scheme on OramaSearchButton
1 parent ef4ea99 commit 0d038a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/ui-stencil/src/components/orama-search-button/orama-search-button.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ export class OramaSearchButton {
8282
this.schemaQuery.removeEventListener('change', this.onPrefersColorSchemeChange)
8383
}
8484

85+
componentWillLoad() {
86+
this.updateTheme()
87+
}
88+
8589
render() {
8690
return (
8791
<Host>

0 commit comments

Comments
 (0)