Closed lingyun1010 closed 11 months ago
I am missing a test for the code change. Could you please add it or please describe me why we don't need it? Thanks
I have looked into this issue. The true or false logic just change the value of a variable not affect any other props or state or UI staff, so we don't have a test for this.
I fix the logic in the url fetching stage, which is more straight forward, as the
colourByCategory
is decided by the vlaue ofcolourBy