Skip to content

Commit 3cca8c5

Browse files
author
Jin Ying
committed
AboutPage: Rename TopComponent to BannerComponent
1 parent a96affa commit 3cca8c5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/about/TopComponent.js renamed to src/components/about/BannerComponent.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import React, { Component } from 'react';
22

3-
import { withStyles } from '@material-ui/core/styles';
43
import Typography from '@material-ui/core/Typography';
4+
import { withStyles } from '@material-ui/core/styles';
55

66
import BannerImage from '../BannerImage';
7-
import { primary, hoverPrimary } from '../../utils/Colors'
87

98
const styles = theme => ({
109
root: {
@@ -43,7 +42,7 @@ const styles = theme => ({
4342
}
4443
})
4544

46-
class TopComponent extends Component {
45+
class BannerComponent extends Component {
4746
render() {
4847
const { classes } = this.props;
4948

@@ -61,4 +60,4 @@ class TopComponent extends Component {
6160
}
6261
}
6362

64-
export default withStyles(styles)(TopComponent);
63+
export default withStyles(styles)(BannerComponent);

0 commit comments

Comments
 (0)