From cd3c974ef8c738e6d68c453a7a5a43ba71a6657d Mon Sep 17 00:00:00 2001 From: Pushpanjali Pawar Date: Fri, 20 Mar 2020 17:57:57 +0100 Subject: [PATCH] Added dynamic submission_instructions in pop-up --- src/components/Forms/Algorithm/AlgorithmSubmission.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx index 1983db2..d924592 100644 --- a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx +++ b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx @@ -147,6 +147,7 @@ class AlgorithmSubmission extends React.Component { } render() { const { usersAlgorithms, createNewAlgorithm, version, isSaved, showHelp } = this.state; + const { benchmark } = this.props; const initialValues: IValues = { algorithm: '', name: '', @@ -167,9 +168,10 @@ class AlgorithmSubmission extends React.Component { this.setState({ showHelp: false })} > -

Demo

+

{benchmark.submission_instruction}

}