Skip to content

Commit

Permalink
Merge pull request #64 from lets-fucking-game/dev
Browse files Browse the repository at this point in the history
feat: fixing error when selected winners
  • Loading branch information
0xGeegZ committed Nov 26, 2022
2 parents 178d08e + 2050a47 commit 4e03dec
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions packages/dapp/src/views/GameCreation/components/Steps.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { useTranslation } from '@pancakeswap/localization'
import { useWeb3React } from '@pancakeswap/wagmi'
import { useGameContext } from 'views/GameCreation/hooks/useGameContext'
import GameCreation from 'views/GameCreation/components/Steps/GameCreation'
import NoWalletConnected from 'views/GameCreation/components/Steps/WalletNotConnected'
import PrizepoolConfiguration from 'views/GameCreation/components/Steps/PrizepoolConfiguration'
import Confirmation from 'views/GameCreation/components/Steps/Confirmation'
import GameName from 'views/GameCreation/components/Steps/GameName'
import GameConfirmationAndContractCreation from 'views/GameCreation/components/Steps/GameConfirmationAndContractCreation'
import GameCreation from 'views/GameCreation/components/steps/GameCreation'
import NoWalletConnected from 'views/GameCreation/components/steps/WalletNotConnected'
import PrizepoolConfiguration from 'views/GameCreation/components/steps/PrizepoolConfiguration'
import Confirmation from 'views/GameCreation/components/steps/Confirmation'
import GameName from 'views/GameCreation/components/steps/GameName'
import GameConfirmationAndContractCreation from 'views/GameCreation/components/steps/GameConfirmationAndContractCreation'

const Steps = () => {
const { t } = useTranslation()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import moment from 'moment'
import momentTz from 'moment-timezone'

import useActiveWeb3React from 'hooks/useActiveWeb3React'
import BackStepButton from 'views/GameCreation/components/Buttons/BackStepButton'
import CreateGameButton from 'views/GameCreation/components/Buttons/CreateGameButton'
import BackStepButton from 'views/GameCreation/components/buttons/BackStepButton'
import CreateGameButton from 'views/GameCreation/components/buttons/CreateGameButton'

const BulletList = styled.ul`
list-style-type: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { parseEther } from '@ethersproject/units'
import useActiveWeb3React from 'hooks/useActiveWeb3React'
import { isValidCron } from 'cron-validator'
import Tooltip from 'views/Games/components/GameCardButtons/Tooltip'
import NextStepButton from 'views/GameCreation/components/Buttons/NextStepButton'
import BackStepButton from 'views/GameCreation/components/Buttons/BackStepButton'
import NextStepButton from 'views/GameCreation/components/buttons/NextStepButton'
import BackStepButton from 'views/GameCreation/components/buttons/BackStepButton'

const InputWrap = styled.div`
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import styled from 'styled-components'
import { useGameContext } from 'views/GameCreation/hooks/useGameContext'
import useActiveWeb3React from 'hooks/useActiveWeb3React'

import NextStepButton from 'views/GameCreation/components/Buttons/NextStepButton'
import NextStepButton from 'views/GameCreation/components/buttons/NextStepButton'

const InputWrap = styled.div`
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { RowBetween } from 'components/Layout/Row'
import { useTranslation } from '@pancakeswap/localization'
import { useGameContext } from 'views/GameCreation/hooks/useGameContext'
import { range } from 'utils'
import NextStepButton from 'views/GameCreation/components/Buttons/NextStepButton'
import NextStepButton from 'views/GameCreation/components/buttons/NextStepButton'
import SelectionCard from 'views/GameCreation/components/SelectionCard'
import BackStepButton from 'views/GameCreation/components/Buttons/BackStepButton'
import BackStepButton from 'views/GameCreation/components/buttons/BackStepButton'
import imageTest from '../../../../../public/images/chains/1.png'

const AllowedPlayersToWinSelection = () => {
Expand Down

1 comment on commit 4e03dec

@vercel
Copy link

@vercel vercel bot commented on 4e03dec Nov 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.