Skip to content

Commit

Permalink
fix(substatus): Make substatus disappear after withdrawing the rai (#287
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mdial89f authored Dec 22, 2023
1 parent 787a8d9 commit cb164b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/shared-types/action-types/withdraw-rai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type RaiWithdraw = z.infer<typeof raiWithdrawSchema>;
export const transformRaiWithdraw = (id: string) => {
return raiWithdrawSchema.transform((data) => ({
id,
raiWithdrawEnabled: false,
rais: {
[data.requestedDate]: {
withdraw: {
Expand Down

0 comments on commit cb164b7

Please sign in to comment.