File tree Expand file tree Collapse file tree
examples/with-apollo-auth Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import cookie from 'cookie'
33import PropTypes from 'prop-types'
44import { ApolloProvider , getDataFromTree } from 'react-apollo'
55
6- import initApollo from './init-apollo '
6+ import initApollo from './initApollo '
77
88function parseCookies ( ctx = { } , options = { } ) {
99 return cookie . parse (
Original file line number Diff line number Diff line change 1515 "isomorphic-fetch" : " ^2.2.1" ,
1616 "next" : " latest" ,
1717 "prop-types" : " ^15.5.10" ,
18- "react" : " ^15.5.4 " ,
18+ "react" : " ^16.0.0 " ,
1919 "react-apollo" : " ^1.1.3" ,
20- "react-dom" : " ^15.5.4 "
20+ "react-dom" : " ^16.0.0 "
2121 },
2222 "devDependencies" : {
2323 "ava" : " ^0.19.1" ,
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import cookie from 'cookie'
44import Link from 'next/link'
55import gql from 'graphql-tag'
66
7- import withData from '../lib/with-data '
7+ import withData from '../lib/withData '
88import redirect from '../lib/redirect'
9- import checkLoggedIn from '../lib/check-logged-in '
9+ import checkLoggedIn from '../lib/checkLoggedIn '
1010
1111class CreateAccount extends React . Component {
1212 static async getInitialProps ( context , apolloClient ) {
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import React from 'react'
22import cookie from 'cookie'
33import { withApollo , compose } from 'react-apollo'
44
5- import withData from '../lib/with-data '
5+ import withData from '../lib/withData '
66import redirect from '../lib/redirect'
7- import checkLoggedIn from '../lib/check-logged-in '
7+ import checkLoggedIn from '../lib/checkLoggedIn '
88
99class Index extends React . Component {
1010 static async getInitialProps ( context , apolloClient ) {
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import cookie from 'cookie'
44import Link from 'next/link'
55import gql from 'graphql-tag'
66
7- import withData from '../lib/with-data '
7+ import withData from '../lib/withData '
88import redirect from '../lib/redirect'
9- import checkLoggedIn from '../lib/check-logged-in '
9+ import checkLoggedIn from '../lib/checkLoggedIn '
1010
1111class Signin extends React . Component {
1212 static async getInitialProps ( context , apolloClient ) {
You can’t perform that action at this time.
0 commit comments