Skip to content

Commit

Permalink
Removed unnecessary promise.all.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwhelchel committed Jan 20, 2024
1 parent ae340cd commit c613c31
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ export const SimpleFinInitialise = ({

setIsLoading(true);

await Promise.all([
send('secret-set', {
name: 'simplefin_token',
value: token,
}),
]);
await send('secret-set', {
name: 'simplefin_token',
value: token,
});

onSuccess();
modalProps.onClose();
Expand Down

0 comments on commit c613c31

Please sign in to comment.