×
1 of 2 errors on the page
TypeError: Cannot read property 'addEventListener' of null
SiteHeaderMobile.componentDidUpdate
src/components/site-header-mobile/site-header-mobile.js:28
  25 | 
26 | componentDidUpdate() {
27 | if (this.state.expanded) {
> 28 | this.navRef.current.addEventListener('keyup', this.handleKeyUp);
| ^ 29 | }
30 | }
31 |
SiteHeaderMobile.componentDidUpdate
node_modules/react-hot-loader/dist/react-hot-loader.development.js:642
SiteHeaderMobile.host.(anonymous function) [as componentDidUpdate]
node_modules/react-axe/after.js:9
commitLifeCycles
node_modules/react-dom/cjs/react-dom.development.js:16870
commitAllLifeCycles
node_modules/react-dom/cjs/react-dom.development.js:18210
HTMLUnknownElement.callCallback
node_modules/react-dom/cjs/react-dom.development.js:149
invokeGuardedCallbackDev
node_modules/react-dom/cjs/react-dom.development.js:199
invokeGuardedCallback
node_modules/react-dom/cjs/react-dom.development.js:256
commitRoot
node_modules/react-dom/cjs/react-dom.development.js:18418
completeRoot
node_modules/react-dom/cjs/react-dom.development.js:19875
performWorkOnRoot
node_modules/react-dom/cjs/react-dom.development.js:19804
performWork
node_modules/react-dom/cjs/react-dom.development.js:19712
performSyncWork
node_modules/react-dom/cjs/react-dom.development.js:19686
interactiveUpdates$1
node_modules/react-dom/cjs/react-dom.development.js:19955
interactiveUpdates
node_modules/react-dom/cjs/react-dom.development.js:2169
dispatchInteractiveEvent
node_modules/react-dom/cjs/react-dom.development.js:4869
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.