Skip to content

Commit 40d6a38

Browse files
committed
Add useFts to topic table
1 parent 552c305 commit 40d6a38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/components/Topics/List/ListPage.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ import TopicTable from 'components/Topics/List/TopicTable';
1313
import { Action, ResourceType } from 'generated-sources';
1414
import ResourcePageHeading from 'components/common/ResourcePageHeading/ResourcePageHeading';
1515
import Fts from 'components/common/Fts/Fts';
16+
import useFts from 'components/common/Fts/useFts';
1617

1718
const ListPage: React.FC = () => {
1819
const { isReadOnly } = React.useContext(ClusterContext);
1920
const [searchParams, setSearchParams] = useSearchParams();
2021

22+
useFts('topics');
23+
2124
// Set the search params to the url based on the localStorage value
2225
React.useEffect(() => {
2326
if (!searchParams.has('perPage')) {

0 commit comments

Comments
 (0)