Skip to content

Commit

Permalink
lint error addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar committed Aug 9, 2023
1 parent dcfe5fe commit 96b066b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/labels/links/PersonLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default function PersonLink({
const today = new Date();
const cakeDate = new Date(person.published);
const isCakeDay =
today.getDate() == cakeDate.getDate() &&
today.getMonth() == cakeDate.getMonth();
today.getDate() === cakeDate.getDate() &&
today.getMonth() === cakeDate.getMonth();

return (
<StyledLink
Expand Down

0 comments on commit 96b066b

Please sign in to comment.