mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -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 logout from './Authentication/logout';
|
||||
import Events from './Events';
|
||||
import Groups from './Groups';
|
||||
import UIPressable from './UIPressable';
|
||||
import UIPrimaryTitle from './UIPrimaryTitle';
|
||||
|
||||
const style: CSSProperties = {
|
||||
|
@ -18,6 +20,8 @@ export default function WheelShare() {
|
|||
<div style={style}>
|
||||
<UIPrimaryTitle>WheelShare</UIPrimaryTitle>
|
||||
|
||||
<UIPressable onClick={logout}>Log out</UIPressable>
|
||||
|
||||
<Groups />
|
||||
<Events />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user