Skip to content

Commit

Permalink
fix: staging allocation URL
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Jul 10, 2023
1 parent 31df827 commit 45e2fb5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/hooks/useSafeTokenAllocation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { getSafeTokenAddress } from '@/components/common/SafeTokenWidget'
import { cgwDebugStorage } from '@/components/sidebar/DebugToggle'
import { IS_PRODUCTION } from '@/config/constants'
import { ZERO_ADDRESS } from '@safe-global/safe-core-sdk/dist/src/utils/constants'
import { isPast } from 'date-fns'
import { BigNumber } from 'ethers'
Expand All @@ -8,7 +10,10 @@ import useAsync from './useAsync'
import useSafeInfo from './useSafeInfo'
import { getWeb3ReadOnly } from './wallets/web3'

export const VESTING_URL = 'https://safe-claiming-app-data.safe.global/allocations/'
export const VESTING_URL =
IS_PRODUCTION || cgwDebugStorage.get()
? 'https://safe-claiming-app-data.safe.global/allocations/'
: 'https://safe-claiming-app-data.staging.5afe.dev/allocations/'

type VestingData = {
tag: 'user' | 'ecosystem' | 'investor' | 'user_v2' // SEP #5
Expand Down

0 comments on commit 45e2fb5

Please sign in to comment.