Skip to content

Commit

Permalink
AxelarTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
mattupham committed Jun 4, 2024
1 parent efc7f17 commit 21da05f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 1 addition & 4 deletions packages/web/integrations/axelar/transfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import {
/**
* @deprecated
*/
const AxelarTransfer: FunctionComponent<
export const AxelarTransfer: FunctionComponent<
{
isWithdraw: boolean;
ethWalletClient: EthWallet;
Expand Down Expand Up @@ -620,6 +620,3 @@ const AxelarTransfer: FunctionComponent<
);
}
);

// accommodate next/dynamic
export default AxelarTransfer;
12 changes: 9 additions & 3 deletions packages/web/modals/bridge-transfer-v1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ import type { ObservableWallet } from "~/integrations/wallets";
import { ModalBase, ModalBaseProps } from "~/modals/base";
import { IBCBalance } from "~/stores/assets";

const AxelarTransfer = dynamic(() => import("~/integrations/axelar/transfer"), {
ssr: false,
});
const AxelarTransfer = dynamic(
() =>
import("~/integrations/axelar/transfer").then(
(module) => module.AxelarTransfer
),
{
ssr: false,
}
);
const NomicTransfer = dynamic(
() =>
import("~/integrations/nomic/transfer").then(
Expand Down

0 comments on commit 21da05f

Please sign in to comment.