diff options
| author | Wes Bos <wesbos@gmail.com> | 2017-08-08 22:09:05 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2017-08-08 22:09:05 -0400 |
| commit | 222ab374d53a206332b1ab51c7c43f6d5dc7a31e (patch) | |
| tree | 2b446d96bfc6c7efab07f3d0fbb84d96ecb1253b /pages/admin | |
yep
Diffstat (limited to 'pages/admin')
| -rw-r--r-- | pages/admin/update.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pages/admin/update.js b/pages/admin/update.js new file mode 100644 index 0000000..ab98add --- /dev/null +++ b/pages/admin/update.js @@ -0,0 +1,16 @@ +import { Component } from 'react'; +import withData from '../../lib/withData'; +import UpdateItem from '../../components/UpdateItem'; + +class Home extends Component { + render() { + return ( + <div> + <p>Update You Item!</p> + <UpdateItem id={this.props.url.query.id} /> + </div> + ) + } +} + +export default withData(Home); |
