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