Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a650300

Browse files
author
Arpitkumar Chaudhari
committed
During checkout, data was not present in local storage. Resolving the issue.
1 parent 68851db commit a650300

File tree

1 file changed

+1
-1
lines changed
  • src/routes/CreateNewTeam/actions

1 file changed

+1
-1
lines changed

src/routes/CreateNewTeam/actions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const addTeamObject = (teamObject) => ({
4848

4949
export const addTeamObjects = (teamObject) => (dispatch, getState) => {
5050
dispatch(addTeamObject(teamObject));
51-
updateLocalStorage(getState().teamObject);
51+
updateLocalStorage(getState().searchedRoles);
5252
};
5353

5454
export const clearSearchedRoles = () => (dispatch, getState) => {

0 commit comments

Comments
 (0)