Skip to content

Commit

Permalink
deps array, github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shan8851 committed Sep 19, 2024
1 parent 028b6bd commit 691224b
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
frontend-checks:
name: Frontend Checks
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID }}
NEXT_PUBLIC_ALCHEMY_ID: ${{ secrets.NEXT_PUBLIC_ALCHEMY_ID }}
NEXT_PUBLIC_CONTRACT_ADDRESS: ${{ secrets.NEXT_PUBLIC_CONTRACT_ADDRESS }}
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion frontend/app/components/donate/donate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Donate = () => {
if (error) {
toast.error('Transaction failed', { id: hash });
}
}, [hash, isConfirming, isConfirmed, error]);
}, [hash, isConfirming, isConfirmed, error, fetchStats]);

return (
<button
Expand Down
151 changes: 149 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"encoding": "^0.1.13",
"eslint": "^8",
"eslint-config-next": "14.2.12",
"pino-pretty": "^11.2.2",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
Expand Down

0 comments on commit 691224b

Please sign in to comment.