From e5c62f08e510d4b6297fb8aa46bb248431a6dc4b Mon Sep 17 00:00:00 2001 From: reiyua Date: Wed, 17 Jan 2024 13:29:47 +0000 Subject: [PATCH] comments galore! --- src/App.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 1ccc1d7..2b1ec48 100644 --- a/src/App.js +++ b/src/App.js @@ -58,7 +58,8 @@ function App() { - +// create function to say something for route section (user needs to add a word or sentence at the end) +// EXAMPLE: } /> const saySomething = (word) => { alert(word) } @@ -81,7 +82,7 @@ function App() { } - // function to get a single item + // function to get a single item from Google Firestore Database const getDocument = async (itemId) => { const docRef = doc(FBdb, "artworks", itemId) const docSnap = await getDoc(docRef) @@ -92,6 +93,7 @@ function App() { + // create routes for the navbar to direct to certain pages return (