Skip to content

Commit

Permalink
fix on success function order
Browse files Browse the repository at this point in the history
  • Loading branch information
hanars committed Jul 31, 2023
1 parent fb56bc9 commit 389f1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/shared/components/panel/LoadWorkspaceDataForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const onProjectCreateSuccess = (responseJson) => {

const formatAddDataUrl = ({ projectGuid }) => (`/api/project/${projectGuid}/add_workspace_data`)

const onAddDataFromWorkspace = dispatch => (responseJson) => {
const onAddDataFromWorkspace = responseJson => (dispatch) => {
dispatch({ type: RECEIVE_DATA, updatesById: responseJson })
}

Expand Down

0 comments on commit 389f1f9

Please sign in to comment.