Skip to content

Commit 26b8b77

Browse files
committed
Remove isomorphic-unfetch
Support for fetching now comes built-in with NextJS. See: https://nextjs.org/blog/next-9-4#improved-built-in-fetch-support
1 parent dd66af1 commit 26b8b77

File tree

5 files changed

+0
-18
lines changed

5 files changed

+0
-18
lines changed

package-lock.json

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"postbuild": "next-on-netlify"
77
},
88
"dependencies": {
9-
"isomorphic-unfetch": "^3.0.0",
109
"next": "^9.4.4",
1110
"next-on-netlify": "^1.2.0",
1211
"react": "^16.13.1",

pages/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from 'isomorphic-unfetch'
21
import Link from 'next/link'
32

43
const Index = ({ shows }) => (

pages/shows/[...params].js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from 'isomorphic-unfetch'
21
import Error from 'next/error'
32
import Link from 'next/link'
43

pages/shows/[id].js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from 'isomorphic-unfetch'
21
import Error from 'next/error'
32
import Link from 'next/link'
43

0 commit comments

Comments
 (0)