From 211fcac0c3b93d217364c35dbf33eed39c293423 Mon Sep 17 00:00:00 2001 From: Drew Rautenberg Date: Sat, 11 Jan 2025 21:53:25 -0600 Subject: [PATCH] Add "Home" button with link to the homepage in inventory This commit adds a "Home" button to the inventory page, allowing users to navigate back to the homepage easily. The `Link` component from "react-router" was imported to achieve this functionality. --- barkmanui/src/pages/inventory.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/barkmanui/src/pages/inventory.tsx b/barkmanui/src/pages/inventory.tsx index fe3ce69..2207a7b 100644 --- a/barkmanui/src/pages/inventory.tsx +++ b/barkmanui/src/pages/inventory.tsx @@ -1,4 +1,5 @@ import '../App.css' +import {Link} from "react-router"; function Inventory() { @@ -11,7 +12,9 @@ function Inventory() {

ARFF ARFF BARK BARK

- + + + )