# App.min.js:148 TypeError: Cannot read property 'themeState' of undefined

**URL:** <https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343>\
**Category:** Dashboard\
**Created:** [15 June 2020 07:29 UTC](https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343 "2020-06-15T07:29:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Martin45](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/martin45/32/81884_2.png) [@Martin45](https://discourse.nodered.org/u/Martin45)\
**Post date:** [16 June 2020 02:23 UTC](https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343/2 "2020-06-16T02:23:44Z")

</div>

I think it's a bug between node-red and dashboard.

I fixed dashboard app.min.js file to solve undefined problem.

Download this file - [https://github.com/martinLim45/share/blob/master/app.min.js](https://github.com/martinLim45/share/blob/master/app.min.js)  
and replace _ **node\_modules/node-red-dashboard/dist/js/app.min.js** _.

---

_[View the full topic](https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343)._
