File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { CgTab } from 'react-icons/cg'
44import { FaUser } from 'react-icons/fa'
55import { IoMdSunny } from 'react-icons/io'
66import { MdDoDisturbOff } from 'react-icons/md'
7- import { RxArrowLeft } from 'react-icons/rx'
87import { Link , useLocation , useNavigate } from 'react-router-dom'
98import { ReactComponent as HackertabLogo } from 'src/assets/logo.svg'
109import { SearchBar } from 'src/components/Elements/SearchBar'
@@ -111,15 +110,7 @@ export const Header = () => {
111110 ) }
112111 </ CircleButton >
113112 </ div >
114- { location . pathname === '/' ? (
115- < UserTags />
116- ) : (
117- < div className = "backToHome" >
118- < Link to = "/" >
119- < RxArrowLeft size = { 20 } /> Back
120- </ Link >
121- </ div >
122- ) }
113+ { location . pathname === '/' && < UserTags /> }
123114 </ header >
124115 </ >
125116 )
You can’t perform that action at this time.
0 commit comments