Skip to content

Commit

Permalink
feat: remove Joyride help button from Header component
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelVR17 committed Feb 25, 2025
1 parent ea4ae9a commit 1fcece7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/layout/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ import useHeader from "./hooks/header.hook";
import Link from "next/link";
import { ArrowBigLeft, CircleHelp } from "lucide-react";
import { useWallet } from "@/components/modules/auth/wallet/hooks/wallet.hook";
import { useJoyride } from "@/hooks/joyride.hook";

const Header = () => {
const { handleConnect, handleDisconnect } = useWallet();
const isMobile = useIsMobile();
const { pathName, getBreadCrumbs, address } = useHeader();
const { setRun } = useJoyride();

return (
<header className="flex flex-1 h-16 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12 mb-4">
Expand Down Expand Up @@ -48,16 +46,6 @@ const Header = () => {
<div className="flex gap-5 ml-auto">
<ThemeToggle />

{pathName === "/dashboard/escrow/my-escrows" && (
<button
className="btn-dark"
type="button"
onClick={() => setRun(true)}
>
<CircleHelp size={29} />
</button>
)}

<button
type="button"
onClick={handleDisconnect}
Expand Down

0 comments on commit 1fcece7

Please sign in to comment.