From ddad91022384747805cc2d63f0285f5f1239ef3c Mon Sep 17 00:00:00 2001 From: Maja Komel Date: Thu, 24 Nov 2022 16:45:29 +0100 Subject: [PATCH] Import regenerator-runtime --- pages/_app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/_app.js b/pages/_app.js index 97664ba35..e90e07d07 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -2,6 +2,7 @@ // https://github.com/zeit/next.js/blob/master/examples/with-sentry // https://github.com/vercel/next.js/blob/canary/examples/with-loading/pages/_app.js import 'scripts/wdyr' +import 'regenerator-runtime/runtime' import { useEffect } from 'react' import NProgress from 'nprogress' import { useRouter } from 'next/router'