Skip to content

Commit

Permalink
fixup! ref: setup drand client
Browse files Browse the repository at this point in the history
  • Loading branch information
RasenGUY committed Nov 26, 2023
1 parent 8b5414b commit 4d474af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/modals/GlobalModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type GlobalModalProps = {
}

// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
const GlobalModal: React.FC<GlobalModalProps> = (props) => {
const GlobalModal: React.FC<GlobalModalProps> = () => {

const [store, setStore] = useState<ContextType['store']>({
modalType: undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/containers/WalletProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const WalletProvider = (props: WalletConnectorProps) => {
<RainbowKitProvider
theme={props.isDark ? darkTheme() : lightTheme()}
chains={chains}
initialChain={localhost} // TODO change to mumbai
initialChain={localhost || polygonMumbai} // TODO change to mumbai
avatar={WalletAvatar}
>
<div tw="relative z-[1]">
Expand Down
3 changes: 2 additions & 1 deletion src/models/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import { tokenConfig } from "../utils";

export const SupportedWagerTokenAddresses = (id: number) => ({
[CurrencyTypes[CurrencyTypesEnum.USDC]]: tokenConfig.address[id as keyof typeof tokenConfig.address],
[CurrencyTypes[CurrencyTypesEnum.USDT]]: tokenConfig.address[id as keyof typeof tokenConfig.address]
[CurrencyTypes[CurrencyTypesEnum.USDT]]: tokenConfig.address[id as keyof typeof tokenConfig.address],
[CurrencyTypes[CurrencyTypesEnum.USD]]: tokenConfig.address[id as keyof typeof tokenConfig.address]
})

0 comments on commit 4d474af

Please sign in to comment.