From 10a5cf400c68bca9eea4ddf48e4c748c127631f3 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Mon, 6 Mar 2023 22:35:53 +0800 Subject: [PATCH] Prompt if products are empty in inventory page now shows properly --- src/Components/InventoryPage/RowRenderer/RowRenderer.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Components/InventoryPage/RowRenderer/RowRenderer.tsx b/src/Components/InventoryPage/RowRenderer/RowRenderer.tsx index 82e92a6..a1f064d 100644 --- a/src/Components/InventoryPage/RowRenderer/RowRenderer.tsx +++ b/src/Components/InventoryPage/RowRenderer/RowRenderer.tsx @@ -7,7 +7,13 @@ import StockRenderer from "../StockRenderer/StockRenderer"; export default function RowRenderer(props: ProductList) { if (props.Products.length === 0) { return ( -
+

No products yet. Add one!