Skip to content

Commit be12784

Browse files
committed
migration
1 parent a56c724 commit be12784

File tree

27 files changed

+31
-38
lines changed

27 files changed

+31
-38
lines changed

front/src/Root.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// #region imports
44
import React, { Component, Fragment } from 'react';
55
import { Router, Switch, Route } from 'react-router-dom';
6-
import compose from 'recompose/compose';
6+
import {compose} from 'redux';
77
import createHistory from 'history/createBrowserHistory';
88
import withMainLayout from './hoc/withMainLayout';
99
import MainRoutes from './routes/MainRoutes';
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
// @flow
2-
3-
// #region imports
41
import React from 'react';
5-
// #endregion
62

7-
// #region flow types
8-
type Props = {
9-
...any,
10-
};
3+
// #region types
4+
type Props = {};
115
// #endregion
126

137
function LoadingContent(props: Props) {
148
return <div>loading...</div>;
159
}
1610

11+
LoadingContent.displayName = 'LoadingContent';
12+
1713
export default LoadingContent;
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// @flow
2-
3-
// #region imports
4-
import compose from 'recompose/compose';
1+
import { compose } from 'redux';
52
import LoadingContent from './LoadingContent';
6-
// #endregion
73

84
export default compose()(LoadingContent);
5+
<

front/src/components/logoutRoute/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import LgoutRoute from './LogoutRoute';
66
import withAuth from '../../contexts/auth/consumerHOC';
77
// #endregion

front/src/components/navigation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import withAuth from '../../contexts/auth/consumerHOC';
66
import NavigationBar from './NavigationBar';
77
// #endregion

front/src/components/privateRoute/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import PrivateRoute from './PrivateRoute';
66
import withAuth from '../../contexts/auth/consumerHOC';
77
// #endregion

front/src/hoc/withMainLayout/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import withMainLayout from './withMainLayout';
66
// #endregion
77

front/src/hoc/withMainLayout/withMainLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// #region imports
44
import React, { Component } from 'react';
55
import wrapDisplayName from 'recompose/wrapDisplayName';
6-
import compose from 'recompose/compose';
6+
import {compose} from 'redux';
77
import { withRouter } from 'react-router';
88
import { type Match, type Location, type RouterHistory } from 'react-router';
99
import Container from 'reactstrap/lib/Container';

front/src/pages/about/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import About from './About';
66
import withEnterAnimation from '../../hoc/withEnterAnimation';
77
// #endregion

front/src/pages/home/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
// #region imports
4-
import compose from 'recompose/compose';
4+
import { compose } from 'redux';
55
import Home from './Home';
66
import withEnterAnimation from '../../hoc/withEnterAnimation';
77
// #endregion

0 commit comments

Comments
 (0)