Skip to content

Commit

Permalink
Fix: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jaavid committed Jul 5, 2024
1 parent 0d1bb0a commit aed21a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
node-version: 20
cache: 'npm'
cache-dependency-path: './'
- name: Install yarn
run: npm install yarn
- name: Install dependencies
run: npm install
run: yarn install
- name: Build
run: npm run build
- name: Setup Pages
Expand Down
6 changes: 0 additions & 6 deletions src/pages/Game.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,13 @@ export function GamePage() {
setIsLoading(false); // Stop showing the loading indicator
if (progress >= 100) {
setShowText(true); // Show text if progress reached 100%
// setIsBlinking(true);
// notifications.show({
// title: 'آرامش خرکی',
// message: 'خرمون آروم شد! الان جایزه خرکوین میگیری! 🎉',
// });
} else {
setProgress(0); // Reset progress if it did not reach 100%
}
};

useEffect(() => {
let intervalId = setInterval(() => {
console.log(progress);
if (progress == 100) {
notifications.show({
title: 'آرامش خرکی',
Expand Down

0 comments on commit aed21a5

Please sign in to comment.