style(my-joy-beta): lint

This commit is contained in:
Sérgio Ramos 2018-02-26 13:37:37 +00:00 committed by Sérgio Ramos
parent 5d333c57a6
commit b72714fc94
5 changed files with 2 additions and 7 deletions

View File

@ -4,7 +4,6 @@ import get from 'lodash.get';
import { import {
PageContainer, PageContainer,
RootContainer,
ViewContainer, ViewContainer,
Message, Message,
MessageDescription, MessageDescription,

View File

@ -2,7 +2,6 @@ import { reduxBatch } from '@manaflair/redux-batch';
import { createStore, combineReducers, compose } from 'redux'; import { createStore, combineReducers, compose } from 'redux';
import { reducer as formReducer } from 'redux-form'; import { reducer as formReducer } from 'redux-form';
import { reducer as valuesReducer } from 'react-redux-values'; import { reducer as valuesReducer } from 'react-redux-values';
import paramCase from 'param-case';
import global from './global'; import global from './global';
const initialState = {}; const initialState = {};

View File

@ -140,10 +140,8 @@ export default compose(
} }
}), }),
graphql(GetTags, { graphql(GetTags, {
options: () => ({
ssr: false
}),
options: ({ match }) => ({ options: ({ match }) => ({
ssr: false,
variables: { variables: {
fetchPolicy: 'network-only', fetchPolicy: 'network-only',
name: get(match, 'params.instance') name: get(match, 'params.instance')

View File

@ -4,7 +4,6 @@ import get from 'lodash.get';
import { import {
PageContainer, PageContainer,
RootContainer,
ViewContainer, ViewContainer,
Message, Message,
MessageDescription, MessageDescription,

View File

@ -8,7 +8,7 @@ import defaultState from './local';
const { const {
REACT_APP_GQL_PORT = window.location.port, REACT_APP_GQL_PORT = window.location.port,
REACT_APP_GQL_PROTOCOL = window.location.protocol.replace(/\:$/, ''), REACT_APP_GQL_PROTOCOL = window.location.protocol.replace(/:$/, ''),
REACT_APP_GQL_HOSTNAME = window.location.hostname REACT_APP_GQL_HOSTNAME = window.location.hostname
} = process.env; } = process.env;