Skip to content

Commit

Permalink
release alpha 26
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Nov 1, 2024
1 parent 4966d4e commit adc4a3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/widget-v2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@skip-go/widget",
"description": "Swap widget",
"version": "3.0.0-alpha.22",
"version": "3.0.0-alpha.26",
"repository": "https://github.com/skip-mev/widget",
"type": "module",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/widget-v2/src/hooks/useGetSourceBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const useGetSourceBalance = () => {
amount: 0,
formattedAmount: "0",
error: undefined,
decimals: undefined
};
}
return skipBalances?.chains?.[chainID]?.denoms?.[denom];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export const useCleanupDebouncedAtoms = () => {

useEffect(() => {
return () => {
cleanupDebouncedSourceAssetAmount();
cleanupDebouncedDestinationAssetAmount();
cleanupDebouncedSourceAssetAmount(undefined);
cleanupDebouncedDestinationAssetAmount(undefined);
};
}, [
cleanupDebouncedDestinationAssetAmount,
cleanupDebouncedSourceAssetAmount,
]);
};
};

0 comments on commit adc4a3a

Please sign in to comment.