fix: search

feat/discover
Arik Chakma 5 months ago
parent c2682e84ce
commit 4f6fa1d5c3
  1. 7
      src/components/DiscoverRoadmaps/DiscoverRoadmaps.tsx

@ -140,7 +140,7 @@ export function DiscoverRoadmaps(props: DiscoverRoadmapsProps) {
</div>
</div>
</div>
<div className="py-3 bg-gray-50">
<div className="bg-gray-50 py-3">
<section className="container mx-auto py-3">
<div className="mb-3.5 flex items-stretch justify-between gap-2.5">
<SearchRoadmap
@ -148,6 +148,11 @@ export function DiscoverRoadmaps(props: DiscoverRoadmapsProps) {
value={pageState.searchTerm}
isLoading={isLoading}
onValueChange={(value) => {
setPageState({
...pageState,
searchTerm: value,
currentPage: 1,
});
}}
/>

Loading…
Cancel
Save