Skip to content

Commit

Permalink
biome
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanoku committed Oct 30, 2024
1 parent 4951ef4 commit b798f32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/islands/counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ export default function Counter(props: InitialTime) {
};
}, []);

const isBirthday = new Date().toLocaleString("ja-JP", { timeZone: "Asia/Tokyo" }).slice(5, 10) === "10-30";
const isBirthday =
new Date()
.toLocaleString("ja-JP", { timeZone: "Asia/Tokyo" })
.slice(5, 10) === "10-30";
const getAge = new Date().getFullYear() - 1989;

return (
Expand Down

0 comments on commit b798f32

Please sign in to comment.