website/gatsby-browser.js

17 lines
390 B
JavaScript
Raw Normal View History

2022-08-27 08:45:32 +00:00
import { init } from '@noriginmedia/norigin-spatial-navigation';
require("prism-themes/themes/prism-dracula.min.css")
2022-08-27 08:48:41 +00:00
const isBrowser = typeof window !== "undefined"
if (isBrowser) {
2022-08-27 08:45:32 +00:00
init({
visualDebug: false
});
// window.addEventListener("keypress", (evt) => {
// if (evt.keyCode === 461) {
// window.history.go(-1)
// }
// })
}