ewoken / nuclear-monitor

https://nuclear-monitor.fr
35 stars 6 forks source link

Erreur Typescript React page blanche #10

Open thomasarmel opened 6 months ago

thomasarmel commented 6 months ago

Bonjour, Il semblerait que la page ne se charge plus, et n'affiche plus qu'une page blanche.

Voici les logs d'erreur:

Firefox:

TypeError: t.dayProductions is null
    It PlantMap.jsx:43
    It PlantMap.jsx:42
    Nt PlantMap.jsx:106
    Nt PlantMap.jsx:91
    React 6
    unstable_runWithPriority scheduler.production.min.js:20
    React 4
    Redux 6
    jt mix.js:71
react-dom.production.min.js:187:194
TypeError: t.dayProductions is null
    It PlantMap.jsx:43
    It PlantMap.jsx:42
    Nt PlantMap.jsx:106
    Nt PlantMap.jsx:91
    React 6
    unstable_runWithPriority scheduler.production.min.js:20
    React 4
    Redux 6
    jt mix.js:71
mix.js:79:18
Uncaught (in promise) TypeError: t.data is undefined
    ee mix.js:37
    Redux 4
    jt mix.js:79
mix.js:37:10

Chromium:

TypeError: Cannot read properties of null (reading 'reduce')
    at PlantMap.jsx:43:46
    at Array.reduce (<anonymous>)
    at It (PlantMap.jsx:42:36)
    at PlantMap.jsx:106:29
    at Array.map (<anonymous>)
    at Nt (PlantMap.jsx:91:15)
    at xc (react-dom.production.min.js:148:98)
    at Sa (react-dom.production.min.js:245:452)
    at ya (react-dom.production.min.js:216:164)
    at va (react-dom.production.min.js:210:471)
gi @ react-dom.production.min.js:187

plants.js:31 TypeError: Cannot read properties of null (reading 'reduce')
    at PlantMap.jsx:43:46
    at Array.reduce (<anonymous>)
    at It (PlantMap.jsx:42:36)
    at PlantMap.jsx:106:29
    at Array.map (<anonymous>)
    at Nt (PlantMap.jsx:91:15)
    at xc (react-dom.production.min.js:148:98)
    at Sa (react-dom.production.min.js:245:452)
    at ya (react-dom.production.min.js:216:164)
    at va (react-dom.production.min.js:210:471)