From 24baf2705047989101dd3f6a0b12d7ecefaee681 Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Tue, 4 Mar 2025 21:27:36 -0700 Subject: [PATCH] FIX: Silly key errors --- frontend/src/components/DirectoryList.jsx | 4 ++-- frontend/src/components/{ PathDisplay.jsx => PathDisplay.jsx} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename frontend/src/components/{ PathDisplay.jsx => PathDisplay.jsx} (95%) diff --git a/frontend/src/components/DirectoryList.jsx b/frontend/src/components/DirectoryList.jsx index cb133e0..e2b6ba8 100644 --- a/frontend/src/components/DirectoryList.jsx +++ b/frontend/src/components/DirectoryList.jsx @@ -11,8 +11,8 @@ import Directory from "./Directory.jsx"; export default function DirectoryList({dirs, showHidden, appendPath, toggleSelected}) { return ( <> - {dirs.map((dir) => )} + {dirs.map((dir, idx) => )} ) diff --git a/frontend/src/components/ PathDisplay.jsx b/frontend/src/components/PathDisplay.jsx similarity index 95% rename from frontend/src/components/ PathDisplay.jsx rename to frontend/src/components/PathDisplay.jsx index 8eead4d..591d548 100644 --- a/frontend/src/components/ PathDisplay.jsx +++ b/frontend/src/components/PathDisplay.jsx @@ -62,7 +62,7 @@ export default function PathDisplay({path, updatePath, backHome, backArrow}) { className="w-2/3 mt-8 border-b-1 border-gray-400 bg-white flex items-center truncate"> - {path.map((seg, idx) => )} + {path.map((seg, idx) => )} ) } \ No newline at end of file