fix: Remove redundant button on admin page header

This commit is contained in:
igorrCarvalho 2023-08-28 20:04:56 -03:00
commit 21ef1b43c7

View file

@ -31,17 +31,6 @@ export default function Header(): JSX.Element {
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
<MenuBar flows={flows} tabId={tabId} />
)}
{location.pathname === "/admin" && (
<Button
onClick={() => {
navigate("/");
}}
variant="outline"
className=" text-sm font-medium text-muted-foreground transition-colors hover:text-primary cursor-pointer "
>
Home
</Button>
)}
{autoLogin === false && (
<Button
onClick={() => {