When trying to add a new wallet or import one from a mnemonic, when I already have an existing wallet, I get the above error. It then prints out this if it helps:
Error: Cannot read properties of undefined (reading 'dark')
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
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
Just to give you all information possible, I thought it might have something to do with the fact that I use the "Dark" mode in settings. So I went into my existing wallet, which loads fine, and switched to "Light" mode, and I still receive the exact same error.
Also wanted to include the full versions of each component in case that helps too.
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
What happened?
When trying to add a new wallet or import one from a mnemonic, when I already have an existing wallet, I get the above error. It then prints out this if it helps:
Error: Cannot read properties of undefined (reading 'dark') 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
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
Just to give you all information possible, I thought it might have something to do with the fact that I use the "Dark" mode in settings. So I went into my existing wallet, which loads fine, and switched to "Light" mode, and I still receive the exact same error.
Also wanted to include the full versions of each component in case that helps too.
Chia Blockchain 1.4.0 Electron 14.2.9 Chrome 93.0.4577.82 Node 14.17.0 V8 9.3.345.20-electron.0
Thanks.
Version
1.4.0
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace