From 79b50071eeb6156a82a1be1b8d74f280d48afb64 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 22 Mar 2026 04:10:28 -0400 Subject: [PATCH] refactor: add inventory dashboard link with appropriate attributes in the panel --- client/src/App.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/client/src/App.jsx b/client/src/App.jsx index 8e7107c..f77b189 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -16,6 +16,8 @@ function App() { const turtles = useTurtleStore((state) => state.getTurtleArray()); const selectedTurtle = useTurtleStore((state) => state.getSelectedTurtle()); + const inventoryDashboardUrl = import.meta.env.VITE_INVENTORY_DASHBOARD_URL || `${window.location.protocol}//${window.location.hostname}`; + useEffect(() => { connect(); }, [connect]); @@ -52,6 +54,15 @@ function App() {
+ + 📦 Inventory +