Skip to content

Commit

Permalink
rm redundant async/await
Browse files Browse the repository at this point in the history
  • Loading branch information
lendihop committed Nov 5, 2024
1 parent 88ff478 commit 8178f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/temple/front/address-book.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export function useContactsActions() {
);

const removeContact = useCallback(
async (address: string) =>
await updateSettings({
(address: string) =>
updateSettings({
contacts: contactsWithFallback.filter(c => c.address !== address)
}),
[contactsWithFallback, updateSettings]
Expand Down

0 comments on commit 8178f9b

Please sign in to comment.