refactor the code structure - use a loop to iterate through the folderPaths fetched from the folders.json, this way if there are new generators you just need to add them to the folders.json, and make sure the orders are same as the one in html
1.8 KiB
1.8 KiB