fix: Remove redundant button on admin page header
This commit is contained in:
parent
bb4ed111ef
commit
21ef1b43c7
1 changed files with 0 additions and 11 deletions
|
|
@ -31,17 +31,6 @@ export default function Header(): JSX.Element {
|
||||||
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
||||||
<MenuBar flows={flows} tabId={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 && (
|
{autoLogin === false && (
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue