From b6ae8f4a55329bc8e8fd212a778510a07367a491 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Wed, 14 Aug 2019 22:10:25 +0100 Subject: [PATCH] Sustainability view-only notes --- .../data-containers/sustainability.tsx | 57 +++++++++++++++++-- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/app/src/frontend/building/data-containers/sustainability.tsx b/app/src/frontend/building/data-containers/sustainability.tsx index ccbad05b..32a7c783 100644 --- a/app/src/frontend/building/data-containers/sustainability.tsx +++ b/app/src/frontend/building/data-containers/sustainability.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { Fragment } from 'react'; import withCopyEdit from '../data-container'; import DataEntry from '../data-components/data-entry'; @@ -7,9 +7,58 @@ import DataEntry from '../data-components/data-entry'; * Sustainability view/edit section */ const SustainabilityView = (props) => ( -
- -
+ +

{props.intro}

+ +
) const SustainabilityContainer = withCopyEdit(SustainabilityView);