File tree Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ interface Props {
16
16
17
17
interface State {
18
18
userAddress : string | null ;
19
- network : ethers . providers . Network | null ,
20
- networkConfig : NetworkConfigInterface ,
19
+ network : ethers . providers . Network | null ;
20
+ networkConfig : NetworkConfigInterface ;
21
21
totalSupply : number ;
22
22
maxSupply : number ;
23
23
maxMintAmountPerTx : number ;
@@ -27,7 +27,7 @@ interface State {
27
27
isUserInWhitelist : boolean ;
28
28
merkleProofManualAddress : string ;
29
29
merkleProofManualAddressFeedbackMessage : string | JSX . Element | null ;
30
- errorMessage : string | JSX . Element | null ,
30
+ errorMessage : string | JSX . Element | null ;
31
31
}
32
32
33
33
const defaultState : State = {
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ import { utils, BigNumber } from 'ethers';
2
2
import React from 'react' ;
3
3
4
4
interface Props {
5
- maxSupply : number ,
6
- totalSupply : number ,
7
- tokenPrice : BigNumber ,
8
- maxMintAmountPerTx : number ,
9
- isPaused : boolean ,
10
- isWhitelistMintEnabled : boolean ,
11
- isUserInWhitelist : boolean ,
12
- mintTokens ( mintAmount : number ) : Promise < void > ,
13
- whitelistMintTokens ( mintAmount : number ) : Promise < void > ,
5
+ maxSupply : number ;
6
+ totalSupply : number ;
7
+ tokenPrice : BigNumber ;
8
+ maxMintAmountPerTx : number ;
9
+ isPaused : boolean ;
10
+ isWhitelistMintEnabled : boolean ;
11
+ isUserInWhitelist : boolean ;
12
+ mintTokens ( mintAmount : number ) : Promise < void > ;
13
+ whitelistMintTokens ( mintAmount : number ) : Promise < void > ;
14
14
}
15
15
16
16
interface State {
Original file line number Diff line number Diff line change 1
1
const colors = require ( 'tailwindcss/colors' ) ;
2
2
3
+ // Setting some custom names
4
+ colors . popupsbg = colors . white ;
5
+ colors . neutral = colors . slate ;
6
+ colors . primary = colors . indigo ;
7
+ colors . primarytxt = colors . white ;
8
+ colors . warning = colors . yellow ;
9
+ colors . warningtxt = colors . black ;
10
+ colors . error = colors . red ;
11
+ colors . errortxt = colors . white ;
12
+
3
13
module . exports = {
4
14
mode : 'jit' ,
5
15
content : [
6
16
'./src/**/*.tsx' ,
17
+ './public/index.html' ,
7
18
] ,
8
19
theme : {
9
20
extend : { } ,
10
- colors : {
11
- popupsbg : colors . white ,
12
- neutral : colors . slate ,
13
- primary : colors . indigo ,
14
- primarytxt : colors . white ,
15
- warning : colors . yellow ,
16
- warningtxt : colors . black ,
17
- error : colors . red ,
18
- errortxt : colors . white ,
19
- }
21
+ colors,
20
22
} ,
21
23
variants : { } ,
22
24
plugins : [ ] ,
23
- }
25
+ } ;
You can’t perform that action at this time.
0 commit comments