There was an error while loading. Please reload this page.
2 parents 7c828f0 + 8d63e87 commit 1ec1609Copy full SHA for 1ec1609
1 file changed
src/pages/index.tsx
@@ -294,6 +294,7 @@ const HomePage = (props: IHomePage) => {
294
const isLoading = searchState === SearchStateName.LOADING;
295
const isError = searchState === SearchStateName.ERROR;
296
const [isModalOpen, setIsModalOpen] = useState(false);
297
+ const SHOW_HOMEPAGE_MODAL = false;
298
299
useEffect(() => {
300
if (typeof window === 'undefined') return;
@@ -342,7 +343,9 @@ const HomePage = (props: IHomePage) => {
342
343
)}
344
</Content>
345
</PageSection>
346
+ {SHOW_HOMEPAGE_MODAL ? (
347
<MyModal isOpen={isModalOpen} onClose={() => setIsModalOpen(false)} />
348
+ ) : <></>}
349
<WrapperResult>
350
{(isLoaded || isLoading) && (
351
<SearchResultsHeader
0 commit comments