8000 Minor fix · jscriptcoder/lottery-contract@7c55f37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c55f37

Browse files
committed
Minor fix
1 parent 4a0e032 commit 7c55f37

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

components/ConnectButton/useConnectButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Modal, notification } from 'antd'
22
import { useCallback, useState } from 'react'
3-
import { useAppContext } from '../../context/appState'
3+
import { useAppContext } from '../../context/AppState'
44
import {
55
getContractDetails,
66
requestAccounts,

components/Content/useContent.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ import {
77
type ChangeEventHandler,
88
} from 'react'
99
import { EventData } from 'web3-eth-contract'
10-
import { useAppContext } from '../../context/appState'
10+
import { useAppContext } from '../../context/AppState'
1111
import emitter from '../../utils/emitter'
1212
import {
1313
enterLottery,
1414
getContractBalance,
1515
getContractDetails,
16-
numPlayers,
1716
pickWinner,
1817
web3,
1918
} from '../../utils/lotteryContract'

pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Layout, ConfigProvider, theme } from 'antd'
22
import Header from '../components/Header'
33
import Footer from '../components/Footer'
44
import Content from '../components/Content'
5-
import { AppContextProvider } from '../context/appState'
5+
import { AppContextProvider } from '../context/AppState'
66

77
const { darkAlgorithm } = theme
88
const darkTheme = {

0 commit comments

Comments
 (0)
0