From 416c2cbae0e69b724876d232bf813eefd7550174 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 11 Aug 2017 14:56:13 -0400 Subject: getting there --- components/CreateItem.js | 20 +++++++------------- components/Items.js | 11 +++++++++++ components/TakeMyMoney.js | 31 +++++++++++++++++++++++++++++++ components/UpdateItem.js | 2 -- 4 files changed, 49 insertions(+), 15 deletions(-) create mode 100644 components/TakeMyMoney.js (limited to 'components') diff --git a/components/CreateItem.js b/components/CreateItem.js index 843263c..b29b210 100644 --- a/components/CreateItem.js +++ b/components/CreateItem.js @@ -36,17 +36,13 @@ class CreateLink extends Component {
{ this.state.loading ? 'LOADING...' : 'Ready!' }
-

Image: {this.state.image}

- this.setState({ title: e.target.value })} - type='text' - placeholder='A description for the link' - /> - +

+ Image + +

+

Title + this.setState({ title: e.target.value })} type='text' placeholder='A description for the link'/> +