🐛 🚀
parent
9c9e3cf6f0
commit
53ebcff4dd
|
@ -6,4 +6,4 @@ WORKDIR app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD npm install && npm run build && serve -s build
|
CMD npm install && npm install reactjs && npm run build && serve -s build
|
||||||
|
|
|
@ -5,7 +5,7 @@ function loadState() {
|
||||||
const val = localStorage.getItem('state');
|
const val = localStorage.getItem('state');
|
||||||
|
|
||||||
if (!val) {
|
if (!val) {
|
||||||
localStorage.setItem('state', JSON.stringify({}));
|
localStorage.setItem('state', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue