fix(client): add relevant placeholder to link submission (#38411)

This commit is contained in:
Shaun Hamilton
2020-05-07 17:19:06 +01:00
committed by GitHub
parent 65416fd351
commit 21ca4e3f67
5 changed files with 50 additions and 74 deletions

View File

@@ -57,7 +57,7 @@ export const types = createTypes(
'updateChallengeMeta',
'updateFile',
'updateJSEnabled',
'updateProjectFormValues',
'updateSolutionFormValues',
'updateSuccessMessage',
'updateTests',
'updateLogs',
@@ -136,8 +136,8 @@ export const updateFile = createAction(types.updateFile);
export const updateConsole = createAction(types.updateConsole);
export const updateLogs = createAction(types.updateLogs);
export const updateJSEnabled = createAction(types.updateJSEnabled);
export const updateProjectFormValues = createAction(
types.updateProjectFormValues
export const updateSolutionFormValues = createAction(
types.updateSolutionFormValues
);
export const updateSuccessMessage = createAction(types.updateSuccessMessage);
@@ -330,7 +330,7 @@ export const reducer = handleActions(
...state,
backendFormValues: payload
}),
[types.updateProjectFormValues]: (state, { payload }) => ({
[types.updateSolutionFormValues]: (state, { payload }) => ({
...state,
projectFormValues: payload
}),