Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 8, 2024
1 parent 5cc13bf commit 051c63d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"start": "astro dev",
"build": "astro check && astro build",
"lint": "eslint",
"check:format": "prettier --check \"**/*.{astro,ts,js,mjs}\"",
"check:format": "prettier --check \"**/*.{astro,ts,tsx,js,mjs}\"",
"clean": "rm -rf dist .turbo node_modules .vercel .astro",
"format": "prettier --write \"**/*.{astro,ts,js,mjs}\"",
"format": "prettier --write \"**/*.{astro,ts,tsx,js,mjs}\"",
"preview": "astro preview",
"astro": "astro"
},
Expand Down
4 changes: 1 addition & 3 deletions apps/web/src/components/react/download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ export const Download = ({ canary = true }: { canary?: boolean }) => {
);
}, 1000);

setFormattedTime(
getRelativeTime(platformDownloads.updated || new Date()),
);
setFormattedTime(getRelativeTime(platformDownloads.updated || new Date()));

return () => clearInterval(timerId);
}, [platformDownloads.updated]);
Expand Down

0 comments on commit 051c63d

Please sign in to comment.