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