Changeset 6221ab6 for reactapp/src/Pages/Home.js
- Timestamp:
- 08/20/22 21:12:04 (2 years ago)
- Branches:
- main
- Children:
- 2fcbde4
- Parents:
- 702ca77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Pages/Home.js
r702ca77 r6221ab6 6 6 import AuthApi from "../api/AuthApi"; 7 7 8 function Home( ) {8 function Home({ user, userLoaded }) { 9 9 const { auth, setAuth } = useContext(AuthApi); 10 10 … … 24 24 </a>{" "} 25 25 <Search /> 26 {auth && <UserHeader />}26 {auth && <UserHeader user={user} userLoaded={userLoaded} />} 27 27 <div style={{ marginTop: "140px" }}></div> 28 28 <Outlet />
Note:
See TracChangeset
for help on using the changeset viewer.