1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Change file name lib on example keep the same format (#3227)

Change file name format on folder lib like /examples/with-apollo and /examples/with-apollo-and-redux
This commit is contained in:
Kitti Piyapan 2017-11-02 23:56:14 +07:00 committed by Tim Neutkens
parent ba740460c8
commit 28767c06d1
7 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ import cookie from 'cookie'
import PropTypes from 'prop-types'
import { ApolloProvider, getDataFromTree } from 'react-apollo'
import initApollo from './init-apollo'
import initApollo from './initApollo'
function parseCookies (ctx = {}, options = {}) {
return cookie.parse(

View file

@ -15,9 +15,9 @@
"isomorphic-fetch": "^2.2.1",
"next": "latest",
"prop-types": "^15.5.10",
"react": "^15.5.4",
"react": "^16.0.0",
"react-apollo": "^1.1.3",
"react-dom": "^15.5.4"
"react-dom": "^16.0.0"
},
"devDependencies": {
"ava": "^0.19.1",

View file

@ -4,9 +4,9 @@ import cookie from 'cookie'
import Link from 'next/link'
import gql from 'graphql-tag'
import withData from '../lib/with-data'
import withData from '../lib/withData'
import redirect from '../lib/redirect'
import checkLoggedIn from '../lib/check-logged-in'
import checkLoggedIn from '../lib/checkLoggedIn'
class CreateAccount extends React.Component {
static async getInitialProps (context, apolloClient) {

View file

@ -2,9 +2,9 @@ import React from 'react'
import cookie from 'cookie'
import { withApollo, compose } from 'react-apollo'
import withData from '../lib/with-data'
import withData from '../lib/withData'
import redirect from '../lib/redirect'
import checkLoggedIn from '../lib/check-logged-in'
import checkLoggedIn from '../lib/checkLoggedIn'
class Index extends React.Component {
static async getInitialProps (context, apolloClient) {

View file

@ -4,9 +4,9 @@ import cookie from 'cookie'
import Link from 'next/link'
import gql from 'graphql-tag'
import withData from '../lib/with-data'
import withData from '../lib/withData'
import redirect from '../lib/redirect'
import checkLoggedIn from '../lib/check-logged-in'
import checkLoggedIn from '../lib/checkLoggedIn'
class Signin extends React.Component {
static async getInitialProps (context, apolloClient) {