Skip to content

Commit

Permalink
remove unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ilge-ustun committed Mar 4, 2024
1 parent e68bb89 commit 87099c1
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 422 deletions.
4 changes: 1 addition & 3 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@hcaptcha/react-hcaptcha": "^1.9.1",
"@mui/material": "^5.14.18",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
Expand Down Expand Up @@ -50,6 +47,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.54.0",
Expand Down
19 changes: 0 additions & 19 deletions app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ function App(): JSX.Element {
return axios.get(`${process.env.REACT_APP_FAUCET_API_URL}/info`)
}

// console.log(enabledTokens.length)

useEffect(() => {
getFaucetInfo()
.then((response) => {
Expand All @@ -34,10 +32,6 @@ function App(): JSX.Element {
toast.error("Network error")
})
.finally(() => {
// setTimeout(()=> {
// setLoading(false)
// setFaucetLoading(false)
// }, 2000)
setFaucetLoading(false)
setLoading(false)
})
Expand All @@ -47,19 +41,6 @@ function App(): JSX.Element {
const subtitle = faucetLoading
? "Loading..."
: (chainId === "100" ? "Faucet" : "Testnet Faucet")

// const enabledTokens1 = [
// {
// address: "0x01",
// name: "GNO",
// maximumAmount: 2,
// },
// {
// address: "0x02",
// name: "xDAI",
// maximumAmount: 10,
// }
// ]

return (
<>
Expand Down
3 changes: 0 additions & 3 deletions app/src/components/hcaptcha/hcaptcha.css

This file was deleted.

230 changes: 0 additions & 230 deletions app/src/components/hcaptcha/hcaptcha.js

This file was deleted.

Loading

0 comments on commit 87099c1

Please sign in to comment.