Skip to content

Commit

Permalink
chore: remove-redundant-example-import (vercel#13175)
Browse files Browse the repository at this point in the history
This issue is related to vercel#12964 

**I changed the following examples:**
`with-zeit-fetch` 
`with-why-did-you-render`
`with-styletron`
`custom-server-fastify`
`custom-server-express`
`with-why-did-you-render`
`custom-server-hapi`
`custom-server-koa`
`custom-server-polka`
`custom-server-typescript`
`progressive-render`
`ssr-caching`
`svg-components`
`using-preact`
`with-ant-design`
  • Loading branch information
mvfsillva authored and rokinsky committed Jul 11, 2020
1 parent 1f6adca commit 89a8623
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion examples/custom-server-express/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
1 change: 0 additions & 1 deletion examples/custom-server-fastify/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
2 changes: 0 additions & 2 deletions examples/custom-server-hapi/pages/a.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function A() {
return <div>a</div>
}
2 changes: 0 additions & 2 deletions examples/custom-server-hapi/pages/b.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function B() {
return <div>b</div>
}
1 change: 0 additions & 1 deletion examples/custom-server-hapi/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
1 change: 0 additions & 1 deletion examples/custom-server-koa/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
2 changes: 0 additions & 2 deletions examples/custom-server-polka/pages/a.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function A() {
return <div>a</div>
}
2 changes: 0 additions & 2 deletions examples/custom-server-polka/pages/b.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function B() {
return <div>b</div>
}
1 change: 0 additions & 1 deletion examples/custom-server-polka/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
2 changes: 0 additions & 2 deletions examples/custom-server-typescript/pages/a.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function A() {
return <div>a</div>
}
2 changes: 0 additions & 2 deletions examples/custom-server-typescript/pages/b.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function B() {
return <div>b</div>
}
1 change: 0 additions & 1 deletion examples/custom-server-typescript/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
2 changes: 0 additions & 2 deletions examples/ssr-caching/pages/blog/[id].js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export default function Post(props) {
return (
<div>
Expand Down
1 change: 0 additions & 1 deletion examples/svg-components/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Cat from '../svgs/cat.svg'

export default function Home() {
Expand Down
1 change: 0 additions & 1 deletion examples/using-preact/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'

export default function Home() {
Expand Down
1 change: 1 addition & 0 deletions examples/with-ant-design/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react'

import 'antd/dist/antd.css'
import '../styles/vars.css'
import '../styles/global.css'
Expand Down
1 change: 0 additions & 1 deletion examples/with-ant-design/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import { Form, Select, InputNumber, Switch, Slider, Button } from 'antd'

// Custom DatePicker that uses Day.js instead of Moment.js
Expand Down
1 change: 0 additions & 1 deletion examples/with-zeit-fetch/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Link from 'next/link'
import fetch from '../fetch'

Expand Down

0 comments on commit 89a8623

Please sign in to comment.