Skip to content

Commit

Permalink
fix(interface): back button on save page
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Feb 4, 2018
1 parent c77f056 commit 342a64e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/admin-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Footer from './footer';
import {Header} from './index-page'

import Toggle from 'material-ui/Toggle';
import RaisedButton from 'material-ui/RaisedButton';

export default class AdminPage extends Page {
constructor(props) {
Expand All @@ -29,6 +30,11 @@ export default class AdminPage extends Page {
return (
<div>
<Header />
<div className='row center pad0-75'>
<RaisedButton label="Back to main page" primary={true} onClick={() => {
window.router('/')
}} />
</div>
<div className='column center w100p pad0-75'>
<Toggle
style={{marginTop: '10px'}}
Expand Down

0 comments on commit 342a64e

Please sign in to comment.