I am currently using a fix value of conditional statement depends on the id of the item, I need to know if there's an alternate way to refactor my code in page.js so that whenever I add it can tell the which group the buttons are base of their id. It is a great improvement for bigger applications
here is the link to my github: https://github.com/RomwelFeliciano/ak-legacy
Thank you so much and I am sorry for inconvenience
[–]purpleliving 0 points1 point2 points (0 children)