Skip to content

Commit

Permalink
fix suspense boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jan 16, 2025
1 parent f203f90 commit 96e456c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { memo, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import urlJoin from 'url-join';

import { withSuspense } from '@/components/withSuspense';
import { useQuery } from '@/hooks/useQuery';
import { useQueryRoute } from '@/hooks/useQueryRoute';
import { DiscoverTab } from '@/types/discover';
Expand Down Expand Up @@ -81,4 +82,4 @@ const StoreSearchBar = memo<StoreSearchBarProps>(({ mobile, onBlur, onFocus, ...
);
});

export default StoreSearchBar;
export default withSuspense(StoreSearchBar);

0 comments on commit 96e456c

Please sign in to comment.