fix: removed back button from dashboard

This commit is contained in:
Suraj Jha 2025-08-19 16:44:06 +05:45
parent 51a2e094a9
commit 6ce937ac1d
No known key found for this signature in database
GPG key ID: 5AC6C16355CE2C14

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"