import React from "react"; import CardRestaurant from "./CardRestaurant"; import { useSelector } from "react-redux"; export default function SearchResults() { var results = useSelector((store) => store.searchResults); const array = Array.from(results); var count = results.length; const restaurants = array.map((restaurant) => ( )); return (

Znaleziono: {count}


{restaurants}
); }