summaryrefslogtreecommitdiffstats
path: root/frontend/pages/update.js
blob: f5fbc43c72724f29b803154cb7f23f23386b70b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { Component } from 'react';
import withData from '../lib/withData';
import UpdateItem from '../components/UpdateItem';
import Page from '../components/Page';
import PleaseSignIn from '../components/PleaseSignIn';

class Home extends Component {
  render() {
    return (
      <Page>
        <PleaseSignIn>
          <UpdateItem id={this.props.router.query.id} />
        </PleaseSignIn>
      </Page>
    );
  }
}

export default withData(Home);