8000 Fixing renaming · jscriptcoder/lottery-contract@1462404 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1462404

Browse files
committed
Fixing renaming
1 parent 7c55f37 commit 1462404

File tree

6 files changed

+3
-61
lines changed

6 files changed

+3
-61
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/blaaa'
44
import {
55
getContractDetails,
66
requestAccounts,

components/Content/useContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ 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/blaaa'
1111
import emitter from '../../utils/emitter'
1212
import {
1313
enterLottery,

context/appState.tsx

Lines changed: 0 additions & 54 deletions
This file was deleted.
File renamed without changes.

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
"premigrate-goerli": "npm run tsc-migrate",
1111
"migrate-goerli": "truffle migrate --network goerli",
1212
"typecheck": "truffle compile && npm run generate-types && tsc --noEmit",
13-
"predev": "truffle migrate",
1413
"dev": "next dev",
15-
"prebuild": "npm run migrate-goerli",
1614
"build": "next build",
17-
"prebuild-local": "npm run migrate",
18-
"build-local": "next build",
1915
"start": "next start",
2016
"lint": "next lint",
2117
"test": "truffle test"

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/blaaa'
66

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

0 commit comments

Comments
 (0)
0