File tree 7 files changed +9
-9
lines changed
examples/with-apollo-auth
7 files changed +9
-9
lines changed 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'
3
3
import PropTypes from 'prop-types'
4
4
import { ApolloProvider , getDataFromTree } from 'react-apollo'
5
5
6
- import initApollo from './init-apollo '
6
+ import initApollo from './initApollo '
7
7
8
8
function parseCookies ( ctx = { } , options = { } ) {
9
9
return cookie . parse (
Original file line number Diff line number Diff line change 15
15
"isomorphic-fetch" : " ^2.2.1" ,
16
16
"next" : " latest" ,
17
17
"prop-types" : " ^15.5.10" ,
18
- "react" : " ^15.5.4 " ,
18
+ "react" : " ^16.0.0 " ,
19
19
"react-apollo" : " ^1.1.3" ,
20
- "react-dom" : " ^15.5.4 "
20
+ "react-dom" : " ^16.0.0 "
21
21
},
22
22
"devDependencies" : {
23
23
"ava" : " ^0.19.1" ,
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import cookie from 'cookie'
4
4
import Link from 'next/link'
5
5
import gql from 'graphql-tag'
6
6
7
- import withData from '../lib/with-data '
7
+ import withData from '../lib/withData '
8
8
import redirect from '../lib/redirect'
9
- import checkLoggedIn from '../lib/check-logged-in '
9
+ import checkLoggedIn from '../lib/checkLoggedIn '
10
10
11
11
class CreateAccount extends React . Component {
12
12
static async getInitialProps ( context , apolloClient ) {
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import React from 'react'
2
2
import cookie from 'cookie'
3
3
import { withApollo , compose } from 'react-apollo'
4
4
5
- import withData from '../lib/with-data '
5
+ import withData from '../lib/withData '
6
6
import redirect from '../lib/redirect'
7
- import checkLoggedIn from '../lib/check-logged-in '
7
+ import checkLoggedIn from '../lib/checkLoggedIn '
8
8
9
9
class Index extends React . Component {
10
10
static async getInitialProps ( context , apolloClient ) {
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import cookie from 'cookie'
4
4
import Link from 'next/link'
5
5
import gql from 'graphql-tag'
6
6
7
- import withData from '../lib/with-data '
7
+ import withData from '../lib/withData '
8
8
import redirect from '../lib/redirect'
9
- import checkLoggedIn from '../lib/check-logged-in '
9
+ import checkLoggedIn from '../lib/checkLoggedIn '
10
10
11
11
class Signin extends React . Component {
12
12
static async getInitialProps ( context , apolloClient ) {
You can’t perform that action at this time.
0 commit comments