Skip to content

Commit 9060177

Browse files
committed
fix: hydration problem caused by
1 parent fcc96df commit 9060177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-select/src/Select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export default class Select<
644644
inputIsHiddenAfterUpdate: undefined,
645645
prevProps: undefined,
646646
instancePrefix: '',
647-
isAppleDevice: false
647+
isAppleDevice: false,
648648
};
649649

650650
// Misc. Instance Properties
@@ -815,7 +815,7 @@ export default class Select<
815815
) {
816816
scrollIntoView(this.menuListRef, this.focusedOptionRef);
817817
}
818-
if(isAppleDevice()) {
818+
if (isAppleDevice()) {
819819
// eslint-disable-next-line react/no-did-mount-set-state
820820
this.setState({ isAppleDevice: true });
821821
}

0 commit comments

Comments
 (0)