Merge pull request #234 from presenton/fix/dashboard_back_button

fix: removed back button from dashboard
This commit is contained in:
Suraj Jha 2025-08-19 16:44:54 +05:45 committed by GitHub
commit 1e011d4dce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ const Header = () => {
<Wrapper>
<div className="flex items-center justify-between py-1">
<div className="flex items-center gap-3">
{pathname !== "/upload" && <BackBtn />}
{(pathname !== "/upload" && pathname !== "/dashboard") && <BackBtn />}
<Link href="/dashboard" onClick={() => trackEvent(MixpanelEvent.Navigation, { from: pathname, to: "/dashboard" })}>
<img
src="/logo-white.png"