first unit test

This commit is contained in:
2024-04-24 13:57:50 -04:00
parent 79eeac6e5c
commit 8d25159d0c
4 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,11 @@
import { useEffect } from "react";
export default function RestaurantList({ loadRestaurants })
{
useEffect(() => { loadRestaurants(); }, [loadRestaurants]);
return
(
<div>RestaurantList</div>
)
}