diff --git a/client/src/templates/Challenges/projects/SolutionForm.js b/client/src/templates/Challenges/projects/SolutionForm.js index c3be4e0044..7284b0a2c5 100644 --- a/client/src/templates/Challenges/projects/SolutionForm.js +++ b/client/src/templates/Challenges/projects/SolutionForm.js @@ -18,15 +18,15 @@ const propTypes = { }; // back end challenges and front end projects use a single form field -const solutionField = ['solutionLink']; -const backEndProjectFields = ['solutionLink', 'githubLink']; +const solutionField = ['solution']; +const backEndProjectFields = ['solution', 'githubLink']; const options = { types: { - solutionLink: 'url', + solution: 'url', githubLink: 'url' }, - required: ['solutionLink'] + required: ['solution'] }; export class SolutionForm extends Component { @@ -92,7 +92,7 @@ export class SolutionForm extends Component { options={{ ...options, placeholders: { - solutionLink: solutionLink, + solution: solutionLink, githubLink: 'ex: https://github.com/camperbot/hello' } }}