From 88ddeeb5fbefc53369f4f3bef1d02cf8d78c6a6b Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 20 Mar 2024 15:47:30 +0000 Subject: [PATCH] Fix typescript errors --- src/components/ExploreAIRoadmap/ExploreAIRoadmap.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ExploreAIRoadmap/ExploreAIRoadmap.tsx b/src/components/ExploreAIRoadmap/ExploreAIRoadmap.tsx index a5563069a..d86cc67d8 100644 --- a/src/components/ExploreAIRoadmap/ExploreAIRoadmap.tsx +++ b/src/components/ExploreAIRoadmap/ExploreAIRoadmap.tsx @@ -2,7 +2,6 @@ import { useEffect, useState } from 'react'; import { useToast } from '../../hooks/use-toast'; import { httpGet } from '../../lib/http'; import { AIRoadmapAlert } from '../GenerateRoadmap/AIRoadmapAlert.tsx'; -import { ExploreAISearch } from './ExploreAISearch.tsx'; import { ExploreAISorting, type SortByValues } from './ExploreAISorting.tsx'; import { deleteUrlParam, @@ -13,7 +12,7 @@ import { Pagination } from '../Pagination/Pagination.tsx'; import { LoadingRoadmaps } from './LoadingRoadmaps.tsx'; import { EmptyRoadmaps } from './EmptyRoadmaps.tsx'; import { AIRoadmapsList } from './AIRoadmapsList.tsx'; -import { currentRoadmap } from '../../stores/roadmap.ts'; +import {ExploreAISearch} from "./ExploreAISearch.tsx"; export interface AIRoadmapDocument { _id?: string; @@ -156,7 +155,7 @@ export function ExploreAIRoadmap() { { + onSubmit={(term: string) => { setPageState({ ...pageState, searchTerm: term,