bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Todo Section grows -- local only #23453

Open BrandonSharratt opened 3 hours ago

BrandonSharratt commented 3 hours ago

I have only seen this bug locally but the Todo section grows infinitely. To reproduce

  1. Load a business that has a Todo (I used BC0883589) which has a correction incoporation application in draft that shows in todo
  2. While running the dashboard in pnpm run dev make some code changes (In my case I edited filings.ts in the store)
  3. Look at the dashboard it has now grown to 2/3/etc

It's likely just an issue with whatever sets that being not idempotent and it is likely only an issue in local with hot reload

kialj876 commented 3 hours ago

I noticed a case where this happened in the PR build as well, but have been unable to reproduce it so far