flagsmith
flagsmith copied to clipboard
Use context to provide projectID parsed from URL
With the migration of the react router, the URL params parsing returned strings, causing comparison mismatches with id returned from the backend. We patched it with an util function but the right way to do is have a single source of truth, using a context.
Started in #5547