On a gatsby project, dev mode displays an empty page + make the toolbar and edit button crash
stack trace:
Uncaught (in promise) TypeError: e.map is not a function
at n.getItemInfo (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13
at Array.map ()
at n.value (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at D (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at D (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at I (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
On a gatsby project, dev mode displays an empty page + make the toolbar and edit button crash
stack trace: Uncaught (in promise) TypeError: e.map is not a function at n.getItemInfo (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13) at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13 at Array.map ()
at n.value (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:13)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at D (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1
at j (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at D (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at L (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at B (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)
at I (prismic.min.js?new=true&repo=prismic-test-gatsby.wroom.io:1)