[web] Clean up boolean handling of track changes state in the frontend

GitOrigin-RevId: 640380219274e156d5bbac704d82e7ea75e1fee2
This commit is contained in:
Domagoj Kriskovic
2026-09-17 11:17:51 +00:00
committed by Copybot
parent fa6eccf939
commit a2712ce523
5 changed files with 35 additions and 40 deletions
@@ -566,7 +566,7 @@ describe('editor context menu', { scrollBehavior: false }, function () {
ProjectProvider: makeProjectProvider(
mockProject({
// Re-assigns `withTrackChanges` value in the `track-changes-state-context` useEffect hook
trackChangesState: true,
trackChangesState: { [USER_ID]: true },
projectFeatures: {
trackChanges: true,
trackChangesVisible: true,