🔨 avoid using es2020 for vercel
This commit is contained in:
@@ -12,9 +12,7 @@ export const getGithubUserContribution = async (userName: string) => {
|
|||||||
dom.window.document.querySelectorAll(".legend > li")
|
dom.window.document.querySelectorAll(".legend > li")
|
||||||
).map(
|
).map(
|
||||||
(element) =>
|
(element) =>
|
||||||
(element.getAttribute("style") || "").match(
|
element.getAttribute("style")!.match(/background\-color: +(#\w+)/)![1]!
|
||||||
/background\-color: +(#\w+)/
|
|
||||||
)?.[1]!
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const cells = Array.from(
|
const cells = Array.from(
|
||||||
|
|||||||
Reference in New Issue
Block a user