Skip to content

Commit 054cabd

Browse files
committed
Fixes pragma and pragmaFrag runtime error
1 parent d7c749a commit 054cabd

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

pages/_app.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @jsx jsx */
2+
/** @jsxRuntime classic */
23
import { jsx } from 'theme-ui'
34
import { ThemeProvider } from 'theme-ui'
45
import theme from '../theme'

pages/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @jsx jsx */
2+
/** @jsxRuntime classic */
23
import { jsx } from 'theme-ui'
34
import Link from 'next/link'
45

pages/notes/[id].jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @jsx jsx */
2+
/** @jsxRuntime classic */
23
import { jsx } from 'theme-ui'
34
import { useRouter } from 'next/router'
45
import Link from 'next/link'

pages/notes/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @jsx jsx */
2+
/** @jsxRuntime classic */
23
import { jsx } from 'theme-ui'
34
import Link from 'next/link'
45

src/components/nav.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @jsx jsx */
2-
import { jsx } from 'theme-ui'
2+
/** @jsxRuntime classic */
3+
import { jsx } from 'theme-ui';
34
import Link from 'next/link'
45

56
const Nav = () => (

0 commit comments

Comments
 (0)