Skip to content

Commit

Permalink
Removed React import from pages/index.js (#15144)
Browse files Browse the repository at this point in the history
This should close #12964 but I'm leaving it up to one of the Tims (or if there are other maintainers) to close the issue as they see fit.
  • Loading branch information
awareness481 authored Jul 14, 2020
1 parent b123895 commit cb96da1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/with-linaria/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import Head from 'next/head'
import { styled } from 'linaria/react'

Expand All @@ -23,11 +22,11 @@ const Box = styled.div`

export default function Home() {
return (
<React.Fragment>
<>
<Head>
<title>With Linaria</title>
</Head>
<Box>Zero runtime CSS in JS</Box>
</React.Fragment>
</>
)
}

0 comments on commit cb96da1

Please sign in to comment.