From 1961236c0f0f2f057ee68b542aebd7e33ed0e335 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Thu, 1 Aug 2019 15:40:35 -0400 Subject: [PATCH] add additional field to display do not attempt rendering elements until manifest is present --- src/components/projects/FundProject.jsx | 38 +++++++------------------ 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/src/components/projects/FundProject.jsx b/src/components/projects/FundProject.jsx index ec6ae8f..c5440d0 100644 --- a/src/components/projects/FundProject.jsx +++ b/src/components/projects/FundProject.jsx @@ -273,7 +273,7 @@ const SubmissionSection = ({ classes, history, projectData, projectId, pledges } return (
-
+ {manifest &&
{'All projects > title here'}
@@ -283,42 +283,24 @@ const SubmissionSection = ({ classes, history, projectData, projectId, pledges } {manifest && manifest.subtitle} - {manifest && } - {manifest && + } - -
-
{`Join ${generateChatRoom(values.title)}`}
+
{`Join ${manifest.chatRoom}`}
+
+
+ +
{manifest.code}
- -
+
}