Skip to content

Commit f668ce1

Browse files
committed
refactor: Uses export default.
1 parent 66f74a4 commit f668ce1

File tree

8 files changed

+8
-24
lines changed

8 files changed

+8
-24
lines changed

ui/src/containers/Visualisations/Viewer/Counter.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import styles from './utils/styles.css';
1818
* @property {number} count
1919
*/
2020

21-
const render = withStyles(styles)(
21+
export default withStyles(styles)(
2222
/** @param {{ model: Model, seriesResults: GroupResult[][] }} props */
2323
(props) => {
2424
const { model, seriesResults } = props;
@@ -32,5 +32,3 @@ const render = withStyles(styles)(
3232
);
3333
}
3434
);
35-
36-
export default render;

ui/src/containers/Visualisations/Viewer/TuplesScatter.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import styles from './utils/styles.css';
3131
* @property {number} count
3232
*/
3333

34-
const render = withStyles(styles)(
34+
export default withStyles(styles)(
3535
/** @param {{ model: Model, seriesResults: GroupResult[][][] }} props */
3636
(props) => {
3737
const { model, seriesResults } = props;
@@ -58,5 +58,3 @@ const render = withStyles(styles)(
5858
);
5959
}
6060
);
61-
62-
export default render;

ui/src/containers/Visualisations/Viewer/TuplesTable.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import keyCodes from 'lib/constants/keyCodes';
3535
* @property {number} count
3636
*/
3737

38-
const render = withStyles(styles)(
38+
export default withStyles(styles)(
3939
/** @param {{ model: Model, seriesResults: GroupResult[][][] }} props */
4040
(props) => {
4141
const { model, seriesResults } = props;
@@ -96,5 +96,3 @@ const render = withStyles(styles)(
9696
);
9797
}
9898
);
99-
100-
export default render;

ui/src/containers/Visualisations/Viewer/ValuesHorizontalBar.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import styles from './utils/styles.css';
4242

4343
const groupsPerPage = 10;
4444

45-
const render = compose(
45+
export default compose(
4646
withStyles(styles),
4747
withState('page', 'setPage', 0)
4848
)(
@@ -89,5 +89,3 @@ const render = compose(
8989
);
9090
}
9191
);
92-
93-
export default render;

ui/src/containers/Visualisations/Viewer/ValuesLine.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import styles from './utils/styles.css';
3535
* @property {number} count
3636
*/
3737

38-
const render = withStyles(styles)(
38+
export default withStyles(styles)(
3939
/** @param {{ model: Model, seriesResults: GroupResult[][] }} props */
4040
(props) => {
4141
const { model, seriesResults } = props;
@@ -64,5 +64,3 @@ const render = withStyles(styles)(
6464
);
6565
}
6666
);
67-
68-
export default render;

ui/src/containers/Visualisations/Viewer/ValuesPie.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import styles from './utils/styles.css';
3434
* @property {number} count
3535
*/
3636

37-
const render = withStyles(styles)(
37+
export default withStyles(styles)(
3838
/** @param {{ model: Model, seriesResults: GroupResult[][] }} props */
3939
(props) => {
4040
const { model, seriesResults } = props;
@@ -68,5 +68,3 @@ const render = withStyles(styles)(
6868
);
6969
}
7070
);
71-
72-
export default render;

ui/src/containers/Visualisations/Viewer/ValuesTable.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import keyCodes from 'lib/constants/keyCodes';
3535
* @property {number} count
3636
*/
3737

38-
const render = withStyles(styles)(
38+
export default withStyles(styles)(
3939
/** @param {{ model: Model, seriesResults: GroupResult[][] }} props */
4040
(props) => {
4141
const { model, seriesResults } = props;
@@ -82,5 +82,3 @@ const render = withStyles(styles)(
8282
);
8383
}
8484
);
85-
86-
export default render;

ui/src/containers/Visualisations/Viewer/ValuesVerticalBar.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import styles from './utils/styles.css';
3535
* @property {number} count
3636
*/
3737

38-
const render = withStyles(styles)(
38+
export default withStyles(styles)(
3939
/** @param {{ model: Model, seriesResults: GroupResult[][] }} props */
4040
(props) => {
4141
const { model, seriesResults } = props;
@@ -66,5 +66,3 @@ const render = withStyles(styles)(
6666
);
6767
}
6868
);
69-
70-
export default render;

0 commit comments

Comments
 (0)