You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
343 B
17 lines
343 B
3 years ago
|
import { useUserContext } from '../../../contexts/UserContext'
|
||
|
|
||
|
import './style.scss'
|
||
|
|
||
|
export const AppFooter = () => {
|
||
|
const { user, selectedAccount } = useUserContext()
|
||
|
|
||
|
return (
|
||
|
<div className="stax-footer">
|
||
|
<p>User: {user?.name}</p>
|
||
|
<p>|</p>
|
||
|
<p>Budget: {selectedAccount?.name}</p>
|
||
|
<p>|</p>
|
||
|
</div>
|
||
|
)
|
||
|
}
|