From ce386fb18398ea4b2d53ddcc5663599215f0ccc6 Mon Sep 17 00:00:00 2001 From: vkulinich Date: Fri, 9 Feb 2024 17:27:43 +0100 Subject: [PATCH 1/2] Enable xcm --- src/components/Layout/Header/Header.tsx | 1 - src/components/Layout/Header/MobileNavBar/MobileNavBar.tsx | 2 -- src/components/Layout/Header/menu/HeaderMenu.tsx | 5 +---- src/sections/xcm/XcmPage.tsx | 4 ---- 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/Layout/Header/Header.tsx b/src/components/Layout/Header/Header.tsx index 7025d8a7..f8c836a9 100644 --- a/src/components/Layout/Header/Header.tsx +++ b/src/components/Layout/Header/Header.tsx @@ -53,7 +53,6 @@ export const Header = () => { text={

{t("depeg.modal.desx")}

-

{t("depeg.modal.desx.crossChain")}

} modalContent={ diff --git a/src/components/Layout/Header/MobileNavBar/MobileNavBar.tsx b/src/components/Layout/Header/MobileNavBar/MobileNavBar.tsx index b8607bea..6ff2403c 100644 --- a/src/components/Layout/Header/MobileNavBar/MobileNavBar.tsx +++ b/src/components/Layout/Header/MobileNavBar/MobileNavBar.tsx @@ -39,7 +39,6 @@ export const MobileNavBar = () => { const hiddenTabItems = hiddenTabs.map((hiddenTab, index) => ( { return ( { return ( {({ isActive }) => ( - - {t(item.translationKey)} - + {t(item.translationKey)} )} ) diff --git a/src/sections/xcm/XcmPage.tsx b/src/sections/xcm/XcmPage.tsx index 659d624c..149f4e51 100644 --- a/src/sections/xcm/XcmPage.tsx +++ b/src/sections/xcm/XcmPage.tsx @@ -6,22 +6,18 @@ import * as Apps from "@galacticcouncil/apps" import { createComponent } from "@lit-labs/react" import { useAccountStore } from "state/store" import { GcTransactionCenter } from "./TransactionCenter" -import { Navigate } from "@tanstack/react-location" export const XcmApp = createComponent({ tagName: "gc-xcm-app", elementClass: Apps.XcmApp, react: React, }) -const disabled = true export function XcmPage() { const { account } = useAccountStore() const ref = React.useRef(null) - if (disabled) return - return ( From b8942e693541c0b5546ad7340dfed461936fc0be Mon Sep 17 00:00:00 2001 From: Pavol Noha Date: Mon, 12 Feb 2024 13:35:20 +0100 Subject: [PATCH 2/2] Fix basilisk & tinkernet xcm multiloc --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fb33ceef..0fe34758 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@emotion/styled": "^11.10.4", "@galacticcouncil/api-augment": "^0.0.3", "@galacticcouncil/apps": "1.4.3-1", - "@galacticcouncil/bridge": "0.0.3-1", + "@galacticcouncil/bridge": "0.0.16", "@galacticcouncil/math-lbp": "^0.1.3", "@galacticcouncil/math-liquidity-mining": "^0.1.3", "@galacticcouncil/math-xyk": "^0.1.3", diff --git a/yarn.lock b/yarn.lock index c18a35b3..fa11b138 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1958,10 +1958,10 @@ patch-package "^7.0.0" short-uuid "^4.2.0" -"@galacticcouncil/bridge@0.0.3-1": - version "0.0.3-1" - resolved "https://registry.yarnpkg.com/@galacticcouncil/bridge/-/bridge-0.0.3-1.tgz#2df1bcae61c5150fd6e1c5ca3618572aefe0b66d" - integrity sha512-bdpPsFc21NSkw6/MZkTjgANvFxLfDlVtGx0/H2xdmUXEVlSs/YQQrJzpKSHj11XtDKF3eeCKNzCbu4nX+JiGfQ== +"@galacticcouncil/bridge@0.0.16": + version "0.0.16" + resolved "https://registry.yarnpkg.com/@galacticcouncil/bridge/-/bridge-0.0.16.tgz#83cd0e57d1be4c8f05d361244c6fae35ba32e2e4" + integrity sha512-+qoby2hx5WuGtWhkPQugmZeqOhy5czWDUQdGHtpjVTfYkIB6PGUuKNv7gnNgl38lJcVo1XB/tn91eLTZwq+9og== dependencies: "@acala-network/api" "^5" "@acala-network/sdk" "^4.1.9-2"