Skip to content

Commit

Permalink
Don't refresh fee when memo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Jan 10, 2024
1 parent 9acd0c6 commit ef3c9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/webapp/src/components/send/send-form/use-refresh-fee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { useStore } from '../../../state';
* changes.
*/
export const useRefreshFee = () => {
const { amount, recipient, selection, memo, refreshFee } = useStore(sendSelector);
const { amount, recipient, selection, refreshFee } = useStore(sendSelector);

useEffect(() => {
void refreshFee();
}, [amount, recipient, selection, memo, refreshFee]);
}, [amount, recipient, selection, refreshFee]);
};

0 comments on commit ef3c9bd

Please sign in to comment.