Skip to content
Snippets Groups Projects
Commit 3d5a657b authored by Todd Dembrey's avatar Todd Dembrey
Browse files

GH-983: Make sure we are rending the component into the page

parent dfc4eb29
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,6 @@ const DisplayPanel = props => {
const isMobile = width < 1024;
const submissionLink = "/apply/submissions/" + submissionID + "/";
const submissionDisplay = <CurrentSubmissionDisplay />
let tabs = [
<Tab button="Notes" key="note">
<NoteListing submissionID={submissionID} />
......@@ -77,7 +75,7 @@ const DisplayPanel = props => {
tabs = [
<Tab button="Back" key="back" handleClick={ clearSubmission } />,
<Tab button="Application" key="application">
{ submission }
<CurrentSubmissionDisplay />
</Tab>,
...tabs
]
......@@ -90,7 +88,7 @@ const DisplayPanel = props => {
<div className="display-panel__header display-panel__header--spacer"></div>
<div className="display-panel__body display-panel__body--center">
<a target="_blank" rel="noopener noreferrer" href={ submissionLink }>Open in new tab</a>
{ submissionDisplay }
<CurrentSubmissionDisplay />
</div>
</div>
)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment