From 7df07ff7c418ed14df1de7c6edc11890c5476440 Mon Sep 17 00:00:00 2001 From: ajmaley Date: Thu, 1 Nov 2018 22:51:05 -0400 Subject: [PATCH] Worked on Flamelink stylings for images but didn't really get anywhere --- src/components/FlameLinkImage.js | 5 +++-- src/pages/Home.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/FlameLinkImage.js b/src/components/FlameLinkImage.js index a40cb61..07521cc 100644 --- a/src/components/FlameLinkImage.js +++ b/src/components/FlameLinkImage.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import flamelinkApp from '../flamelink.js'; + class FlameLinkImage extends Component { constructor() { super(); @@ -15,13 +16,13 @@ class FlameLinkImage extends Component { .then(url => this.setState({ mediaURL: url })) - return + return } render() { return(
- {this.getImage(this.props.content)} + {this.getImage(this.props.content)}
); } diff --git a/src/pages/Home.js b/src/pages/Home.js index 74249d8..1a4336a 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -7,7 +7,7 @@ class Home extends Component { constructor() { super(); - global.schemaName = 'martenInfo'; + global.schemaName = 'martenHome'; this.state = { schemaDetails: '',