Closed ErwanLeroux closed 4 weeks ago
Hey, just letting you know I've seen this. I haven't had a chance to work on this recently thanks to a broken laptop but hopefully this weekend I can dig into it. It should be simple to track down and fix.
Will update this issue as I make progress.
Thank you for your reply ! I kinda already solved the issue by removing React.useMemo() in crafting-data-source.ts
I'm not sure that's a good fix but it solved my immediate problem.
Please don't rush on my behalf, take the time you need, what you made is already super useful to use :)
Sorry it took a bit. Your workaround is in fact the correct fix. The whole function is already memoized, so the nested memo inside of that is invalid and was causing the crash.
I see I have an unfinished FIXME in here about showing craftables for skills you no longer have. I'll fix that one too, and get a new release out 'soon'.
Thank you !
When I try to sort craftables with any criteria, I get a white page with an error in the console :
Reproductible using this url : http://localhost:8081/catalogue#/craftables?sort-by=%5B%7B%22id%22%3A%22aspects%22%2C%22desc%22%3Atrue%7D%5D