[BUG] Cannot read properties of undefined (reading 'dark')
See original GitHub issueWhat happened?
trying to add existing seed to GUI and got this error.
Version
1.4.0
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'dark')
URL
#/
Stacktrace
at webpack://@chia/gui/node_modules/@mui/material/Button/Button.js:101:53 dark
at webpack://@chia/gui/node_modules/@mui/system/esm/createStyled.js:191:17 Array(numOfCustomFnsApplied).fill
at webpack://@chia/src/utils/flatten.js:68:21 isStatelessFunction
at webpack://@chia/src/models/ComponentStyle.js:91:28 phash
at webpack://@chia/src/models/StyledComponent.js:87:21 useInjectedStyle<T>
at webpack://@chia/src/models/StyledComponent.js:126:4 componentStyle
at webpack://@chia/src/models/StyledComponent.js:245:27 forwardRef
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:176:259 useOpaqueIdentifier
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:271:399 d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;yg(a,b);Cg(b,d,null,c);d=b.memoizedState.element;if(d===e)sh(),b=hi(a,b,c);else{e=b.stateNode;if(f=e.hydrate)kh=rf(b.stateNode.containerInfo.firstChild),jh=b,f=lh=!0;if
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
TypeError: Cannot read properties of undefined (reading 'dark')
... Button API https://mui.com/api/button/ There is no color danger, so removing color="danger" from the last button will solve the problem.
Read more >TypeError: Cannot read properties of undefined (reading 'dark ...
Removing color property fixed the issue. Context. Your Environment. `npx @mui/envinfo`.
Read more >cannot read properties of undefined (reading 'dark') - You.com
There are 3 main reasons the "Cannot read properties of undefined" error occurs: Accessing a property on a variable that stores an undefined...
Read more >How to Prevent the Error: Cannot Read Property '0' of Undefined
It was recently modified to read TypeError:Cannot read properties of undefined (reading '0') in newer versions of v8. This means that in modern ......
Read more >Uncaught TypeError: Cannot read properties undefined
[This thread is closed.] Javascript Error: Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute') at Object.menu…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
dark for now, but i have tried both.
It is duplicate of https://github.com/Chia-Network/chia-blockchain-gui/issues/738. I am closing this one.