summaryrefslogtreecommitdiffstats
path: root/frontend/pages/admin
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
committerWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
commitcd0b07b3adb36fb5ec098f9e511ab45d774fee7b (patch)
treea203e5010219ccea1acc6bbd2c0a4bcfa0a78615 /frontend/pages/admin
parent0a1648bf47490b312169c531aeb51ef4725e8d2e (diff)
Move to Prisma Backend
Diffstat (limited to 'frontend/pages/admin')
-rw-r--r--frontend/pages/admin/update.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/pages/admin/update.js b/frontend/pages/admin/update.js
new file mode 100644
index 0000000..ab98add
--- /dev/null
+++ b/frontend/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);