Skip to content

Commit e22920c

Browse files
committed
lint: undo format
1 parent 426d49c commit e22920c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/Component.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import React, { Component } from 'react';
1+
import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
3-
import { useMark } from './marks';
3+
import {useMark} from './marks';
44
import toLoadable from "./loadable";
5-
import { UIDConsumer } from "./context";
5+
import {UIDConsumer} from "./context";
66

77
const isBrowser = (typeof window !== 'undefined');
88
const STATE_LOADING = 'loading';
99
const STATE_ERROR = 'error';
1010
const STATE_DONE = 'done';
1111

12-
const FragmentNode = ({ children }) => <div>{children}</div>;
12+
const FragmentNode = ({children}) => <div>{children}</div>;
1313
FragmentNode.propTypes = {
1414
children: PropTypes.any
1515
};
@@ -127,8 +127,8 @@ export class UnconnectedReactImportedComponent extends Component {
127127
};
128128

129129
render() {
130-
const { AsyncComponent, state } = this.state;
131-
const { LoadingComponent, ErrorComponent } = this.props;
130+
const {AsyncComponent, state} = this.state;
131+
const {LoadingComponent, ErrorComponent} = this.props;
132132

133133
if (state === STATE_LOADING && this.props.async) {
134134
throw this.loadingPromise;
@@ -139,7 +139,7 @@ export class UnconnectedReactImportedComponent extends Component {
139139
}
140140

141141
if (AsyncComponent) {
142-
return <AsyncComponent {...this.props.forwardProps} ref={this.props.forwardRef} />
142+
return <AsyncComponent {...this.props.forwardProps} ref={this.props.forwardRef}/>
143143
}
144144

145145
switch (state) {
@@ -194,8 +194,8 @@ UnconnectedReactImportedComponent.defaultProps = {
194194

195195
const ReactImportedComponent = (props) => (
196196
settings.SSR
197-
? <UIDConsumer>{UID => <UnconnectedReactImportedComponent {...props} streamId={UID | 0} />}</UIDConsumer>
198-
: <UnconnectedReactImportedComponent {...props} streamId={0} />
197+
? <UIDConsumer>{UID => <UnconnectedReactImportedComponent {...props} streamId={UID | 0}/>}</UIDConsumer>
198+
: <UnconnectedReactImportedComponent {...props} streamId={0}/>
199199
);
200200

201201
ReactImportedComponent.propTypes = BaseProps;

src/LazyBoundary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
const isBrowser = (typeof window !== 'undefined');
44

5-
const LazyBoundary = ({ children }) => <React.Fragment>{children}</React.Fragment>;
5+
const LazyBoundary = ({children}) => <React.Fragment>{children}</React.Fragment>;
66
LazyBoundary.propTypes = {
77
children: PropTypes.node,
88
};

src/loadable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { loadMark } from './marks';
1+
import {loadMark} from './marks';
22
const isBrowser = (typeof window !== 'undefined');
33

44
let pending = [];

0 commit comments

Comments
 (0)