Skip to content

Commit

Permalink
Fixes #16431 (#17610)
Browse files Browse the repository at this point in the history
Fixes #16431
* Added `.babelrc` with `next/babel` to remove the need of the React import on the `with-storybook` example.
  • Loading branch information
zerbinidamata committed Oct 5, 2020
1 parent 91b5390 commit d32b195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/with-storybook/.babelrc
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": []
}
1 change: 0 additions & 1 deletion examples/with-storybook/components/index.js
@@ -1,4 +1,3 @@
import React from 'react'
export default function Home() {
return <div>Hello World</div>
}

0 comments on commit d32b195

Please sign in to comment.