mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 19:29:51 -04:00
add log out button to logged in view
This commit is contained in:
parent
d4aca49302
commit
bff71a0a3a
|
@ -1,6 +1,8 @@
|
||||||
import { CSSProperties } from 'react';
|
import { CSSProperties } from 'react';
|
||||||
|
import logout from './Authentication/logout';
|
||||||
import Events from './Events';
|
import Events from './Events';
|
||||||
import Groups from './Groups';
|
import Groups from './Groups';
|
||||||
|
import UIPressable from './UIPressable';
|
||||||
import UIPrimaryTitle from './UIPrimaryTitle';
|
import UIPrimaryTitle from './UIPrimaryTitle';
|
||||||
|
|
||||||
const style: CSSProperties = {
|
const style: CSSProperties = {
|
||||||
|
@ -18,6 +20,8 @@ export default function WheelShare() {
|
||||||
<div style={style}>
|
<div style={style}>
|
||||||
<UIPrimaryTitle>WheelShare</UIPrimaryTitle>
|
<UIPrimaryTitle>WheelShare</UIPrimaryTitle>
|
||||||
|
|
||||||
|
<UIPressable onClick={logout}>Log out</UIPressable>
|
||||||
|
|
||||||
<Groups />
|
<Groups />
|
||||||
<Events />
|
<Events />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user