Skip to content

Commit

Permalink
update to disable lz bridge for zkvem
Browse files Browse the repository at this point in the history
  • Loading branch information
gtg7784 committed Jun 27, 2024
1 parent d5e6650 commit f5cd869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/bridge/layerzero/LzBridge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,16 @@ export default defineComponent({
},
setup(props) {
const { currentAccount } = useAccount();
const { isBridgeMaintenanceMode } = useNetworkInfo();
const nativeTokenSymbol = computed<string>(() => {
return props.fromChainName === LayerZeroNetworkName.AstarEvm ? 'ASTR' : 'ETH';
});
const store = useStore();
const isHandling = ref<boolean>(false);
const isLoading = computed<boolean>(() => store.getters['general/isLoading']);
const isEnabledWithdrawal = computed<boolean>(() => true);
const isBridgeMaintenanceMode = computed<boolean>(() =>
[props.fromChainName, props.toChainName].includes(EthBridgeNetworkName.AstarZk)
);
const isNativeToken = computed<boolean>(() => {
return (
Expand Down

0 comments on commit f5cd869

Please sign in to comment.