We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7453c3 commit e8a7e3bCopy full SHA for e8a7e3b
packages/gatsby/cache-dir/fast-refresh-overlay/index.js
@@ -54,7 +54,7 @@ function DevOverlay({ children }) {
54
const [state, dispatch] = React.useReducer(reducer, initialState)
55
56
React.useEffect(() => {
57
- const gatsbyEvents = window._gatsbyEvents
+ const gatsbyEvents = window._gatsbyEvents || []
58
window._gatsbyEvents = {
59
push: ([channel, event]) => {
60
if (channel === `FAST_REFRESH`) {
0 commit comments