diff --git a/app/view-plants/page.tsx b/app/view-plants/page.tsx index 5982fc5..bc7f094 100644 --- a/app/view-plants/page.tsx +++ b/app/view-plants/page.tsx @@ -156,7 +156,7 @@ export default function Page() { } function handleAddPlants() { //TODO: route to add details with proper information - router.push('/add-details'); + router.push('/add-details'); // use CONFIG later } function handleCancelAddMode() { @@ -241,20 +241,18 @@ export default function Page() { {viewingOption === 'myPlants' && (
{filteredUserPlantList.length ? ( -
- - - {filteredUserPlantList.map(ownedPlant => ( - handleUserPlantCardClick(ownedPlant)} - /> - ))} - - -
+ + + {filteredUserPlantList.map(ownedPlant => ( + handleUserPlantCardClick(ownedPlant)} + /> + ))} + + ) : (