Merge branch 'login' into bugfix-msgSuccess

This commit is contained in:
anovazzi1 2023-08-24 17:58:25 -03:00 committed by GitHub
commit 544738ebef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,10 @@ export default function Header(): JSX.Element {
<Link to="/">
<span className="ml-4 text-2xl"></span>
</Link>
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
<MenuBar flows={flows} tabId={tabId} />
)}
{location.pathname === "/admin" && (
<Button
onClick={() => {
@ -56,10 +60,6 @@ export default function Header(): JSX.Element {
Admin page
</Button>
)}
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
<MenuBar flows={flows} tabId={tabId} />
)}
</div>
<div className="round-button-div">
<Link to="/">