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", github: "ghusrname",
website: "example.com", website: "example.com",
}, },
achievements: [],
pronouns: "they/them", pronouns: "they/them",
profileImg: profileImg:
"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png", "https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png",
@@ -44,6 +45,7 @@ export const MockUnicornTwo: UnicornInfo = {
github: "ghusrname2", github: "ghusrname2",
website: "example.com/2", website: "example.com/2",
}, },
achievements: [],
pronouns: "they/them", pronouns: "they/them",
profileImg: profileImg:
"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png", "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; ) as HTMLElement;
if (viewAllAchievementsButton) { if (viewAllAchievementsButton) {
const hiddenAchievements: HTMLElement[] = [ const hiddenAchievements: HTMLElement[] = Array.from(
...document.querySelectorAll("[data-hide-initially]"), document.querySelectorAll("[data-hide-initially]"),
]; );
let expanded = false; let expanded = false;