In Chapter - 9 #17
Replies: 2 comments
-
Hi @ckarthikdev, this type of error would usually occur when the |
Beta Was this translation helpful? Give feedback.
-
@ckarthikdev The problem is you are using the Proper Syntax Looks like ; |
Beta Was this translation helpful? Give feedback.
-
Hi,
The imported utilis filterData i have written like below.
const data = (
< filterData searchText={searchText} allRestaurants={allRestaurants} />
);
is this correct ? .
when i search the feature it shows error " TypeError: filteredRestaurants.map is not a function "
Beta Was this translation helpful? Give feedback.
All reactions