Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Oct 30, 2024
1 parent b806cc3 commit a3c4784
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,8 @@ const FacetedSearch = ({ data, overriddenComponents }) => {
? state_intl_locale
: config?.settings?.defaultLanguage || 'en';

const [isClient, setIsClient] = useState(false);
useEffect(() => {
const [isClient, setIsClient] = React.useState(false);
React.useEffect(() => {
setIsClient(true);
}, []);

Expand Down

0 comments on commit a3c4784

Please sign in to comment.