summaryrefslogtreecommitdiffstats
path: root/pages/admin/update.js
blob: ab98add38fe1e00d49e35b73e92f04bc616cb105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);