8000 Fixing file casing · jscriptcoder/lottery-contract@74e5615 · GitHub
[go: up one dir, main page]

Skip to content

Commit 74e5615

Browse files
committed
Fixing file casing
1 parent ef07287 commit 74e5615

File tree

5 files changed

+4
-108
lines changed

5 files changed

+4
-108
lines changed

components/ConnectButton/useConnectButton.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { Modal, notification } from 'antd'
22
import { useCallback, useState } from 'react'
33
import { useAppContext } from '../../context/appStore'
4-
import {
5-
getContractDetails,
6-
requestAccounts,
7-
} from '../../utils/lotteryContract'
4+
import { getContractDetails, requestAccounts } from '../../utils/booo'
85

96
function notifySuccessfulConnection(balance: string): void {
107
notification.success({

components/Content/useContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
getContractDetails,
1616
pickWinner,
1717
web3,
18-
} from '../../utils/lotteryContract'
18+
} from '../../utils/booo'
1919
import { toPrice } from '../../utils/numeral'
2020
import type { Winner } from '../WinnerMask/WinnerMask'
2121

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
"migrate-goerli": "truffle migrate --network goerli",
1212
"typecheck": "truffle compile && npm run generate-types && tsc --noEmit",
1313
"dev": "next dev",
14-
"prebuild": "npm run migrate-goerli",
1514
"build": "next build",
15+
"premigrate-build": "npm run migrate-goerli",
16+
"migrate-build": "next build",
1617
"start": "next start",
1718
"lint": "next lint",
1819
"test": "truffle test"
File renamed without changes.

utils/lotteryContract.ts

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0