Skip to content

Commit

Permalink
Merge pull request #3529 from broadinstitute/anvil-loading-e-not-a-fu…
Browse files Browse the repository at this point in the history
…cntion

fix on success function order
  • Loading branch information
hanars authored Aug 1, 2023
2 parents a496c44 + 389f1f9 commit b5843fc
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 b5843fc

Please sign in to comment.