logout, hover transition and small fixes
This commit is contained in:
9
src/hoc/withLogout.js
Normal file
9
src/hoc/withLogout.js
Normal file
@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
import { LogoutButton } from '../components/LogoutButton/LogoutButton';
|
||||
|
||||
export const WithLogout = (props) => {
|
||||
return <>
|
||||
<LogoutButton />
|
||||
{props.children}
|
||||
</>
|
||||
}
|
Reference in New Issue
Block a user