finalizing non-docker env
This commit is contained in:
parent
99ed535e3e
commit
c2c20a5c48
|
@ -23,6 +23,7 @@ services:
|
|||
- 3000:3000
|
||||
environment:
|
||||
CHOKIDAR_USEPOLLING: "true"
|
||||
REACT_APP_API_URL: "/api"
|
||||
command: ["npm", "run", "start"]
|
||||
|
||||
server:
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
REACT_APP_API_URL=
|
||||
# overwritten in docker-compose
|
||||
REACT_APP_API_URL=http://localhost:8000
|
|
@ -3,13 +3,13 @@ import { useUserContext } from '../../contexts/UserContext'
|
|||
import './style.scss'
|
||||
|
||||
export const AppFooter = () => {
|
||||
const { user, selectedAccount } = useUserContext()
|
||||
const { user } = useUserContext()
|
||||
|
||||
return (
|
||||
<footer>
|
||||
<p>User: {user?.name}</p>
|
||||
<p>|</p>
|
||||
<p>Budget: {selectedAccount?.name}</p>
|
||||
<p>Budget:</p>
|
||||
<p>|</p>
|
||||
</footer>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user