chore: fix TSC

This commit is contained in:
Corbin Crutchley
2023-08-10 21:53:11 -07:00
parent 2097739678
commit ebcf827b65
2 changed files with 5 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ export const MockUnicorn: UnicornInfo = {
github: "ghusrname",
website: "example.com",
},
achievements: [],
pronouns: "they/them",
profileImg:
"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png",
@@ -44,6 +45,7 @@ export const MockUnicornTwo: UnicornInfo = {
github: "ghusrname2",
website: "example.com/2",
},
achievements: [],
pronouns: "they/them",
profileImg:
"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png",

View File

@@ -93,9 +93,9 @@ const showPostsToggle = posts.length > postsToDisplay.length;
) as HTMLElement;
if (viewAllAchievementsButton) {
const hiddenAchievements: HTMLElement[] = [
...document.querySelectorAll("[data-hide-initially]"),
];
const hiddenAchievements: HTMLElement[] = Array.from(
document.querySelectorAll("[data-hide-initially]"),
);
let expanded = false;