Closed Albertlarsen closed 5 months ago
@allinox Sorry, I should have said something about it. The reason of the weird Kasse error was because there where duplicate keys in react. "Arbeids and velferdsetaten" and "Nav (Arbeids og velferdsetaten)" had the same key since they had the same org code. Duplicate keys in react causes unexpected errors and this was one of them (Seemed like everytime you searched for something "Arbeids and Velferdsetaten" was automatically added as a duplicate and also always displayed, maybe because it didn't actually exist but was just a duplicate). So duplicate keys caused more duplicate keys and so on so everytime you searched for something, more duplicate keys was added and more duplicate FilterOptions were added.
@Albertlarsen Aha! That makes sense! Thanks for the explanation and kudos for figuring it out! 🙌
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
Description
Related Issue(s)
875
861
Verification
Documentation