Skip to content

Commit

Permalink
Update src/libs/actions/Delegate.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Fedi Rajhi <[email protected]>
  • Loading branch information
layacat and fedirjh authored Dec 6, 2024
1 parent 756978b commit 063957f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/actions/Delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ function addDelegate(email: string, role: DelegateRole, validateCode: string) {
validateCodeSent: null,
},
};
successData.push(optimisticResetActionCode);
failureData.push(optimisticResetActionCode);
optimisticData.push(optimisticResetActionCode);

const parameters: AddDelegateParams = {delegate: email, validateCode, role};

Expand Down

0 comments on commit 063957f

Please sign in to comment.