🚀 refactor getgithubcontribution

This commit is contained in:
platane
2020-11-30 10:56:18 +01:00
parent 57a7e7cf36
commit 485b70d30b
11 changed files with 2878 additions and 89 deletions

View File

@@ -13,7 +13,7 @@ export const generateContributionSnake = async (
console.log("🎣 fetching github user contribution");
const { cells, colorScheme } = await getGithubUserContribution(userName);
const grid = userContributionToGrid(cells);
const grid = userContributionToGrid(cells, colorScheme);
const snake = snake4;
const drawOptions = {