Files
flipper/desktop/flipper-ui-core
Lorenzo Blasa e8dd7ffcc0 Adresses an issue with menu mutation
Summary:
A Logview issue was raised for the following error:
Cannot assign to read only property '0' of object '[object Array]'.

Analysis:
Currently, the menuEntries are stored by reference in the reducer, and made read only to protect it against accidental writes. Tha's probably why the '0' assignment fails, and the fix is that the reducer should only get a defensive copy as config about the current menu entries to show.

Reviewed By: mweststrate

Differential Revision: D33454514

fbshipit-source-id: 2faf3036eb6ae4fbe9a8d0253fde27cf389d3e4c
2022-01-06 08:15:52 -08:00
..
2022-01-06 08:15:52 -08:00
2021-10-08 01:33:03 -07:00
2021-12-17 10:04:23 -08:00

flipper-ui-core (TBD)

Flipper's UI, agnostic of Electron vs Browser.