Skip to content

Commit

Permalink
fix: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
quangdz1704 committed Jul 19, 2024
1 parent 59834ec commit 7117186
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion constants/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const SEND_TON_TRANFERS_CONFIG: Partial<SendTransferInterface> = {
};

export const TON_SCAN = "https://tonviewer.com";
export const MANIFEST_URL = "https://ton-bridge.oraidex.io/manifest.json";
export const MANIFEST_URL = "https://ton.oraidex.io/manifest.json";

export const ARG_BRIDGE_TO_TON = {
CHANNEL: "channel-0",
Expand Down
4 changes: 0 additions & 4 deletions contexts/app-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ if (typeof window !== "undefined") {
}

const queryClient = new QueryClient();
console.log(
"process.env.NEXT_PUBLIC_MIXPANEL_TOKEN",
process.env.NEXT_PUBLIC_MIXPANEL_TOKEN
);

export const AppProvider = (props: React.PropsWithChildren<{}>) => {
const walletType = useAuthOraiWallet();
Expand Down
4 changes: 3 additions & 1 deletion libs/mixpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export const getMixPanelClient = () => {
class MixPanel {
constructor() {
const isProd = process.env.NODE_ENV === "production";
const token = process.env.NEXT_PUBLIC_MIXPANEL_TOKEN!;
const token =
process.env.NEXT_PUBLIC_MIXPANEL_TOKEN ||
"acbafd21a85654933cbb0332c5a6f4f8";
mixpanel.init(token);
// , {
// api_host: process.env.NEXT_PUBLIC_MIXPANEL_API!,
Expand Down
2 changes: 0 additions & 2 deletions libs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ export const initClient = async () => {
// suggest our chain
const arrChainIds = [
network.chainId,
COSMOS_CHAIN_ID_COMMON.ORAIBRIDGE_CHAIN_ID,
COSMOS_CHAIN_ID_COMMON.INJECTVE_CHAIN_ID,
] as NetworkChainId[];
for (const chainId of arrChainIds) {
await window.Keplr.suggestChain(chainId);
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"url": "https://ton.oraidex.io",
"name": "TON Bridge",
"iconUrl": "https://ton.oraidex.io/favicon.svg"
"iconUrl": "https://oraidex.io/favicon.svg"
}

0 comments on commit 7117186

Please sign in to comment.