mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 12:57:44 +00:00
chore: fix TSC
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user