From 52f115c610640669a611bade46029720a6488145 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Tue, 7 Mar 2023 23:29:38 +0800 Subject: [PATCH] Fixed some unimplemented login redirects on Inventory and Logs page when not logged in --- src/Routes/Products/Products.tsx | 2 ++ src/routes/Inventory/Inventory.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Routes/Products/Products.tsx b/src/Routes/Products/Products.tsx index 973896b..f84a96d 100644 --- a/src/Routes/Products/Products.tsx +++ b/src/Routes/Products/Products.tsx @@ -46,6 +46,7 @@ export default function Products() { } else if (error) { return (
+
@@ -66,6 +67,7 @@ export default function Products() { } return (
+
diff --git a/src/routes/Inventory/Inventory.tsx b/src/routes/Inventory/Inventory.tsx index 890f91b..23b0803 100644 --- a/src/routes/Inventory/Inventory.tsx +++ b/src/routes/Inventory/Inventory.tsx @@ -55,6 +55,7 @@ export default function Inventory() { } else if (error) { return (
+