From 40b19d1601416b4d650fdd0385e8549918820c56 Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Sun, 12 Mar 2023 19:46:28 +0000 Subject: [PATCH] NAVIGATION PROVIDER --- daily-thought-frontend/src/pages/feed.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daily-thought-frontend/src/pages/feed.tsx b/daily-thought-frontend/src/pages/feed.tsx index fda8cd9d..8fbb7136 100644 --- a/daily-thought-frontend/src/pages/feed.tsx +++ b/daily-thought-frontend/src/pages/feed.tsx @@ -5,16 +5,18 @@ const Feed = () => { let colors = ["#ffd0d2","#fffdd0","#d0fffd","#d0d2ff"]; + let user = {FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]} + return ( <div> <Post - User={{FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]}} + User={user} Likes={[]} Post="This is my amazing post" TimeStamp='Just now' /> - <HiddenPost UserColors={colors}/> + <HiddenPost User={user} TimeStamp="Just now"/> </div> ) } -- GitLab