ed84bee503
* Fix CSS Ordering This fixes CSS ordering between development and production. Before this change, globally imported CSS would come _after_ `<style jsx global>` in development, but _before_ in production. After this change, it'll always be applied before. * Move to correct element * Add tests * Fix obnoxious indents * Update test/integration/css/fixtures/with-styled-jsx/pages/index.js Co-Authored-By: JJ Kasper <jj@jjsweb.site>
12 lines
240 B
JavaScript
12 lines
240 B
JavaScript
import React from 'react'
|
|
import App from 'next/app'
|
|
import '../styles/global.css'
|
|
|
|
class MyApp extends App {
|
|
render () {
|
|
const { Component, pageProps } = this.props
|
|
return <Component {...pageProps} />
|
|
}
|
|
}
|
|
|
|
export default MyApp
|