valstu / korona-info

Suomen koronavirus-tartuntatilanne
MIT License
67 stars 19 forks source link

Crash when switching a healthcare district to `unknown` #55

Closed d2s closed 4 years ago

d2s commented 4 years ago

Application crash when switching a healthcare district from All healthcare districts (Kaikki sairaanhoitopiirit) to unknown (tuntematon) via the drop-down menu.

Error message displayed on the middle of a white screen: An unexpected error has occurred.

Error message on DevTools Console:

18:45:09.790 react_devtools_backend.js:6 TypeError: Cannot read property 'confirmed' of undefined
    at YO (index.js:1)
    at Gi (framework.5fcc7199ef0beb206d2f.js:1)
    at Ua (framework.5fcc7199ef0beb206d2f.js:1)
    at ko (framework.5fcc7199ef0beb206d2f.js:1)
    at xu (framework.5fcc7199ef0beb206d2f.js:1)
    at wu (framework.5fcc7199ef0beb206d2f.js:1)
    at du (framework.5fcc7199ef0beb206d2f.js:1)
    at framework.5fcc7199ef0beb206d2f.js:1
    at t.unstable_runWithPriority (framework.5fcc7199ef0beb206d2f.js:1)
    at $l (framework.5fcc7199ef0beb206d2f.js:1)
r @ react_devtools_backend.js:6
lo @ framework.5fcc7199ef0beb206d2f.js:1
i.componentDidCatch.n.callback @ framework.5fcc7199ef0beb206d2f.js:1
hi @ framework.5fcc7199ef0beb206d2f.js:1
co @ framework.5fcc7199ef0beb206d2f.js:1
Cu @ framework.5fcc7199ef0beb206d2f.js:1
t.unstable_runWithPriority @ framework.5fcc7199ef0beb206d2f.js:1
$l @ framework.5fcc7199ef0beb206d2f.js:1
Su @ framework.5fcc7199ef0beb206d2f.js:1
du @ framework.5fcc7199ef0beb206d2f.js:1
(anonymous) @ framework.5fcc7199ef0beb206d2f.js:1
t.unstable_runWithPriority @ framework.5fcc7199ef0beb206d2f.js:1
$l @ framework.5fcc7199ef0beb206d2f.js:1
Xl @ framework.5fcc7199ef0beb206d2f.js:1
Yl @ framework.5fcc7199ef0beb206d2f.js:1
(anonymous) @ framework.5fcc7199ef0beb206d2f.js:1
re @ framework.5fcc7199ef0beb206d2f.js:1
oe @ framework.5fcc7199ef0beb206d2f.js:1
ue @ framework.5fcc7199ef0beb206d2f.js:1
Jt @ framework.5fcc7199ef0beb206d2f.js:1
Gt @ framework.5fcc7199ef0beb206d2f.js:1
t.unstable_runWithPriority @ framework.5fcc7199ef0beb206d2f.js:1
$l @ framework.5fcc7199ef0beb206d2f.js:1
ne @ framework.5fcc7199ef0beb206d2f.js:1
Yt @ framework.5fcc7199ef0beb206d2f.js:1
ListPicker._handleMouseUp

18:45:09.793 react_devtools_backend.js:6 TypeError: Cannot read property 'confirmed' of undefined
    at YO (index.js:1)
    at Gi (framework.5fcc7199ef0beb206d2f.js:1)
    at Ua (framework.5fcc7199ef0beb206d2f.js:1)
    at ko (framework.5fcc7199ef0beb206d2f.js:1)
    at xu (framework.5fcc7199ef0beb206d2f.js:1)
    at wu (framework.5fcc7199ef0beb206d2f.js:1)
    at du (framework.5fcc7199ef0beb206d2f.js:1)
    at framework.5fcc7199ef0beb206d2f.js:1
    at t.unstable_runWithPriority (framework.5fcc7199ef0beb206d2f.js:1)
    at $l (framework.5fcc7199ef0beb206d2f.js:1)