first unit test
This commit is contained in:
11
src/components/RestaurantList.js
Normal file
11
src/components/RestaurantList.js
Normal file
@ -0,0 +1,11 @@
|
||||
import { useEffect } from "react";
|
||||
|
||||
export default function RestaurantList({ loadRestaurants })
|
||||
{
|
||||
useEffect(() => { loadRestaurants(); }, [loadRestaurants]);
|
||||
return
|
||||
(
|
||||
|
||||
<div>RestaurantList</div>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user