Files
flipper/src
Daniel Abramowitz ec1e977084 Fix "invalid weak map key" error when nodes in the layout inspector are empty strings
Summary: When nodes didn't have any metadata, the data was an empty string, which fails json parsing. This causes data be passed to the InspectorSidebarSection as ''. The weak map inside that component expects data to be an object, not a string, and crashes if it's actually a string. This will ensure that data is always an object.

Reviewed By: jknoxville

Differential Revision: D13109384

fbshipit-source-id: 469a1b5c1c00130ef37636bf7c6796b2463fb34b
2018-11-29 08:19:36 -08:00
..
2018-11-22 06:34:09 -08:00
2018-11-15 07:30:05 -08:00
2018-10-24 04:31:03 -07:00
2018-11-19 12:14:51 -08:00
2018-11-15 07:30:05 -08:00
2018-11-15 07:30:05 -08:00
2018-11-19 12:14:51 -08:00
2018-11-15 04:36:40 -08:00