File tree Expand file tree Collapse file tree 4 files changed +6
-130
lines changed
Expand file tree Collapse file tree 4 files changed +6
-130
lines changed Original file line number Diff line number Diff line change @@ -475,18 +475,18 @@ const Home = () => {
475475 value = { sendValue }
476476 onChange = { setSendValue }
477477 placeholder = { `Amount to donate (${ tokenSymbol ? tokenSymbol . toString ( ) . toUpperCase ( ) : "STRK" } )` }
478- disabled = { isLoading || isWriteLoading || isApproving }
478+ disabled = { isLoading || isApproving }
479479 />
480480 < button
481481 className = { `w-full px-4 py-3 rounded-md text-white font-medium ${
482- isLoading || isWriteLoading || isApproving || ! sendValue
482+ isLoading || isApproving || ! sendValue
483483 ? 'bg-gray-400 cursor-not-allowed'
484484 : 'bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'
485485 } transition-all duration-200`}
486486 onClick = { handleDonate }
487- disabled = { isLoading || isWriteLoading || isApproving || ! sendValue }
487+ disabled = { isLoading || isApproving || ! sendValue }
488488 >
489- { isLoading || isWriteLoading || isApproving ? (
489+ { isLoading || isApproving ? (
490490 < span className = "flex items-center justify-center" >
491491 < svg className = "animate-spin -ml-1 mr-2 h-5 w-5 text-white" xmlns = "http://www.w3.org/2000/svg" fill = "none" viewBox = "0 0 24 24" >
492492 < circle className = "opacity-25" cx = "12" cy = "12" r = "10" stroke = "currentColor" strokeWidth = "4" > </ circle >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const deployedContracts = {
77 devnet : {
88 crowdfunding : {
99 address :
10- "0x74e4d9ba02bffa9b0255a00d4c6aa14b2045aa055cf4d743cda0963191103f8 " ,
10+ "0x47434ec924bb16a99710134c2fb830037eace2d82b0725c3d07a3f6016bb47a " ,
1111 abi : [
1212 {
1313 type : "impl" ,
Original file line number Diff line number Diff line change 1- mod crowdfunding ;
2-
3- #[cfg(test)]
4- mod test {
5- mod crowdfunding_test ;
6- }
1+ mod crowdfunding ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments