Remove dropdown under Contact for removed signout component

This commit is contained in:
Ray 2023-12-04 12:28:17 +00:00 committed by GitHub
parent cbd8da9755
commit 7e9eab9b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 16 deletions

View File

@ -1,12 +1,13 @@
asset-manifest.json,1701689001273,d63807b686cde494acefdc4a7f66adb30289726729387faca740a259955aa096
logo192.png,1701688984397,c621f7ba0965ce7fc3f1a429c12a4a1d9cae19877ce3b8cebee93845deab0617
index.html,1701689001273,daf02593ee90bdb64a7d2a629b2b3ba4b375afd6d6fcb8eb6e4791540b8d10d6
manifest.json,1701688984397,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
robots.txt,1701688984397,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
static/js/787.fe1675bb.chunk.js,1701689001297,09044c094544c6017476721265373bd92ca82ed8434b6f9c010fe07087e14d49
static/js/787.fe1675bb.chunk.js.map,1701689001301,683229073c7ef9ee1a721578162763c4560a3420f836b325c01601e50f646529
static/js/main.db77c455.js.LICENSE.txt,1701689001293,025207c5e9934797fea1918a1560a8d2747ae5dd12179436ec22ee8c84341806
static/css/main.6ccd65a8.css,1701689001293,265f9979f4391283252fdae35b22ffd098a887c8d5f299ccf72fa2f4335c8303
static/css/main.6ccd65a8.css.map,1701689001297,6d6f3434075d5f325c92f6ab942391103fcbf237317eb7d825dd42e97c416961
static/js/main.db77c455.js,1701689001297,607a62798805c9f0e2722520a5e953c972f056aa9e9c1927862df4624ab283ae
static/js/main.db77c455.js.map,1701689001297,9c54119ec5a1a4f6b2f1db5aef3b244bcddf8ef5783b0b9ea1f65037d5ec625d
apple-touch-icon.png,1701692359760,636540c762d4809990b0a3f99b00b6a5523e8c44054b3e6536bc8bd01d618a17
asset-manifest.json,1701692391444,d63807b686cde494acefdc4a7f66adb30289726729387faca740a259955aa096
index.html,1701692391444,daf02593ee90bdb64a7d2a629b2b3ba4b375afd6d6fcb8eb6e4791540b8d10d6
logo192.png,1701692359760,c621f7ba0965ce7fc3f1a429c12a4a1d9cae19877ce3b8cebee93845deab0617
manifest.json,1701692359760,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
robots.txt,1701692359760,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
static/js/787.fe1675bb.chunk.js.map,1701692391472,683229073c7ef9ee1a721578162763c4560a3420f836b325c01601e50f646529
static/js/main.db77c455.js.LICENSE.txt,1701692391464,025207c5e9934797fea1918a1560a8d2747ae5dd12179436ec22ee8c84341806
static/js/787.fe1675bb.chunk.js,1701692391468,09044c094544c6017476721265373bd92ca82ed8434b6f9c010fe07087e14d49
static/css/main.6ccd65a8.css,1701692391464,265f9979f4391283252fdae35b22ffd098a887c8d5f299ccf72fa2f4335c8303
static/css/main.6ccd65a8.css.map,1701692391468,6d6f3434075d5f325c92f6ab942391103fcbf237317eb7d825dd42e97c416961
static/js/main.db77c455.js,1701692391472,607a62798805c9f0e2722520a5e953c972f056aa9e9c1927862df4624ab283ae
static/js/main.db77c455.js.map,1701692391468,9c54119ec5a1a4f6b2f1db5aef3b244bcddf8ef5783b0b9ea1f65037d5ec625d

View File

@ -1,7 +1,6 @@
import Container from "react-bootstrap/Container"
import Navbar from "react-bootstrap/Navbar"
import Nav from "react-bootstrap/Nav"
import NavDropdown from "react-bootstrap/NavDropdown"
export function Header(props) {
// props.items is the value of nav state in App.js
@ -32,9 +31,7 @@ export function Header(props) {
<Navbar.Brand>systie</Navbar.Brand>
<Nav>
{Links}
<NavDropdown title={props.user.email}>
<NavDropdown.Item href="/signout">Log out</NavDropdown.Item>
</NavDropdown>
</Nav>
</Container>
</Navbar>)