Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi-imtbl committed Oct 23, 2024
1 parent 7a8eea0 commit ea6feaf
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,19 @@ export default function AddFundsWidget({
})();
}, []);

useEffect(() => {
if (!checkout) return;
(async () => {
if (!(await checkout.isSwapAvailable())) {
viewDispatch({
payload: {
type: ViewActions.UPDATE_VIEW,
view: { type: AddFundsWidgetViews.GEO_BLOCK_ERROR },
},
});
}
})();
}, [checkout]);
// useEffect(() => {
// if (!checkout) return;
// (async () => {
// if (!(await checkout.isSwapAvailable())) {
// viewDispatch({
// payload: {
// type: ViewActions.UPDATE_VIEW,
// view: { type: AddFundsWidgetViews.GEO_BLOCK_ERROR },
// },
// });
// }
// })();
// }, [checkout]);

useEffect(() => {
if (!squid || !chains || !fromProvider || fetchingBalances.current) return;
Expand Down

0 comments on commit ea6feaf

Please sign in to comment.