mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -04:00
make login in header pressable
This commit is contained in:
parent
10ff0baa50
commit
45c0de9767
|
@ -1,6 +1,8 @@
|
|||
import authorizationEndpoint from '../Authentication/authorizationEndpoint';
|
||||
import logout from '../Authentication/logout';
|
||||
import { useMe, useNotifications } from '../hooks';
|
||||
import Notifications from '../Notifications/Notifications';
|
||||
import UILink from '../UI/UILink';
|
||||
import UIPressable from '../UI/UIPressable';
|
||||
import UIPrimaryTitle from '../UI/UIPrimaryTitle';
|
||||
|
||||
|
@ -29,7 +31,7 @@ export default function Header() {
|
|||
)}
|
||||
</>
|
||||
) : (
|
||||
<span>Log In</span>
|
||||
<UILink href={authorizationEndpoint}>Log in</UILink>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user