From d7ed49e2b6a1fa94ff434f16f170b1116ce52a84 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 21 Jul 2023 10:46:52 -0700 Subject: [PATCH] chore: remove redundant init --- src/_data/music.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/_data/music.js b/src/_data/music.js index d64bb15a..a63caef7 100644 --- a/src/_data/music.js +++ b/src/_data/music.js @@ -180,10 +180,7 @@ module.exports = async function () { const PAGE_SIZE = 30 const PAGES = 10 const time = Number(new Date()) - let charts = { - artists: {}, - albums: {}, - } + let charts let CURRENT_PAGE = 0 let res = [] let hasNextPage = true