Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix: formatting, small design fixes
Browse files Browse the repository at this point in the history
fix: formatting, small design fixes
  • Loading branch information
Metnew committed Oct 30, 2017
1 parent 1a61c67 commit 9d921a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/common/containers/Dashboard/components/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, {Component} from 'react'
import {Grid, Header} from 'semantic-ui-react'
import {FormattedMessage} from 'react-intl'

export default class DashboardComponent extends Component {
class DashboardComponent extends Component {
render () {
return (
<Grid columns={1}>
Expand All @@ -30,3 +30,5 @@ export default class DashboardComponent extends Component {
)
}
}

export default DashboardComponent
1 change: 0 additions & 1 deletion src/common/containers/Dashboard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import React, {Component} from 'react'
import {connect} from 'react-redux'
import {Helmet} from 'react-helmet'
import DashboardComponent from './components'

import type {GlobalState} from 'reducers'

type Props = any
Expand Down
6 changes: 5 additions & 1 deletion src/common/containers/Login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ type Props = {
}

const Login = ({login, errors}: Props) => {
return <LoginComponent login={login} errors={errors} />
const props = {
login,
errors
}
return <LoginComponent {...props} />
}

const mapStateToProps = (state: GlobalState) => {
Expand Down

0 comments on commit 9d921a4

Please sign in to comment.