Skip to content

Commit

Permalink
fix: add 2022 as default selected year (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
chewam committed Aug 5, 2022
1 parent d65f530 commit 6b7c051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/pages/__snapshots__/comparison.test.tsx.snap
Expand Up @@ -16,8 +16,8 @@ exports[`Page snapshot: comparison 1`] = `
>
<li>
<button
class=""
style="background-color: transparent;"
class="active"
style="background-color: rgb(209, 207, 226); border-color: #d1cfe2;"
>
2022
</button>
Expand Down
1 change: 1 addition & 0 deletions src/services/years.tsx
Expand Up @@ -2,6 +2,7 @@ import useSWR from "swr"
import YearsData from "@/data/years.json"

const defaultYears = {
"2022": true,
"2021": true,
"2020": true,
"2017": true,
Expand Down

1 comment on commit 6b7c051

@vercel
Copy link

@vercel vercel bot commented on 6b7c051 Aug 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deaths – ./

deaths.chewam.com
deaths-git-master-chewam.vercel.app
deaths-chewam.vercel.app
deaths.vercel.app

Please sign in to comment.