fix: prevent double encode if we are on /search endpoint (#3238)

This commit is contained in:
Brandon Cohen
2023-01-13 18:21:54 -05:00
committed by GitHub
parent c2a1a20a3b
commit a343f8ad91
7 changed files with 25 additions and 28 deletions

View File

@@ -1,8 +1,7 @@
import Header from '@app/components/Common/Header';
import ListView from '@app/components/Common/ListView';
import PageTitle from '@app/components/Common/PageTitle';
import useDiscover from '@app/hooks/useDiscover';
import { encodeURIExtraParams } from '@app/hooks/useSearchInput';
import useDiscover, { encodeURIExtraParams } from '@app/hooks/useDiscover';
import globalMessages from '@app/i18n/globalMessages';
import Error from '@app/pages/_error';
import type { TmdbKeyword } from '@server/api/themoviedb/interfaces';