Once you click on the filter tabs such as color tab, It remains open. Should close it when clicked again on the same tab.
Solutions:
On click of the filter tab, check if it's the same tab. If it's the same tab setActiveFilterTab("") else set it to the selected tab.
Once you click on the filter tabs such as color tab, It remains open. Should close it when clicked again on the same tab. Solutions: On click of the filter tab, check if it's the same tab. If it's the same tab setActiveFilterTab("") else set it to the selected tab.![issue-3d-tshirt-customizer](https://github.com/adrianhajdin/project_threejs_ai/assets/42607820/c66a027b-c5a4-4f8c-aff2-f7f110dac572)