Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-sven committed Dec 6, 2024
1 parent 0bae983 commit 0b8e20d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infra/rooch-portal-v2/src/hooks/use-networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const { networkConfig, useNetworkVariable, useNetworkVariables } = createNetwork
mintAddress: ROOCH_MINT_OPERATING_ADDRESS,
btcGasAddress: '0x701c21bf1c8cd5af8c42983890d8ca55e7a820171b8e744c13f2d9998bf76cc3',
gasMarketAddress: '0x701c21bf1c8cd5af8c42983890d8ca55e7a820171b8e 744c13f2d9998bf76cc3',
faucetUrl: 'http://192.168.31.134',
faucetUrl: FAUCET_TESTNET,
faucetAddress: '0x701c21bf1c8cd5af8c42983890d8ca55e7a820171b8e744c13f2d9998bf76cc3',
faucetObject: '0xd5723eda84f691ae2623da79312c7909b1737c5b3866ecc5dbd6aa21718ff15d',
BTCMemPool: 'https://mempool.space/testnet/tx/',
Expand Down
4 changes: 2 additions & 2 deletions infra/rooch-portal-v2/src/sections/faucet/inviter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import { DashboardContent } from 'src/layouts/dashboard';

import { toast } from 'src/components/snackbar';

import { paths } from '../../routes/paths';
import { INVITER_ADDRESS_KEY } from 'src/utils/inviter';
import { paths } from '../../routes/paths';

const FAUCET_NOT_OPEN = 'Faucet Not Open';
const INVALID_UTXO = 'Invalid UTXO';
Expand Down Expand Up @@ -72,7 +72,7 @@ export function InviterFaucetView({ inviterAddress }: { inviterAddress: string }
router.push(paths.dashboard.faucet);
}

}, [inviter])
}, [inviter, router])

const { data, isPending, refetch } = useRoochClientQuery(
'getBalance',
Expand Down
2 changes: 1 addition & 1 deletion infra/rooch-portal-v2/src/sections/settings/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { Iconify } from 'src/components/iconify'
import { useNetworkVariable } from '../../hooks/use-networks'
import SessionKeysTableCard from './components/session-keys-table-card'
import SessionKeyGuardButtonV1 from '../../components/auth/session-key-guard-button-v1'
import { INVITER_ADDRESS_KEY } from 'src/utils/inviter'
import { INVITER_ADDRESS_KEY } from "../../utils/inviter";

export function SettingsView() {
const address = useCurrentAddress()
Expand Down

0 comments on commit 0b8e20d

Please sign in to comment.