-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from ava-labs/development
ERC20 Support
- Loading branch information
Showing
23 changed files
with
7,070 additions
and
5,251 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
import { useState, useEffect } from 'react'; | ||
import { useState } from 'react' | ||
import './styles/Contribute.css' | ||
|
||
const Contribute = () => { | ||
const [hiddenClass, setHiddenClass] = useState('') | ||
|
||
setTimeout(() => { | ||
setHiddenClass("hide-button") | ||
}, 2000); | ||
}, 2000) | ||
|
||
return ( | ||
<div className={`contribute-button ${hiddenClass}`} onClick={() => {window.open('https://github.com/ava-labs/avalanche-faucet', '_blank')}}> | ||
<img src="/github.png"/> | ||
<div | ||
className = {`contribute-button ${hiddenClass}`} | ||
onClick={ | ||
() => { | ||
window.open('https://github.com/ava-labs/avalanche-faucet', '_blank') | ||
} | ||
}> | ||
<img alt='github' src="/github.png"/> | ||
Contribute on Github | ||
</div> | ||
) | ||
} | ||
|
||
export default Contribute; | ||
export default Contribute |
Oops, something went wrong.