infinitered / reactotron-react-native

Reactotron's react-native client.
MIT License
110 stars 27 forks source link

Reactotron.display() doesnt work as expected when using the 'preview' parameter. #1029

Closed adrenaline681 closed 2 years ago

adrenaline681 commented 2 years ago

When I try to log using the 'display' method:

 Reactotron.display({
    name: 'THIS IS NAME',
    value: { a: true, b: false },
    preview: 'THIS IS PREVIEW',
  });

The output shows the 'name' twice instead of the 'preview': 85595408-d1959b80-b616-11ea-9e18-99f64886d9aa '

How can I get this to work?

Using: Reactotron 3.0.0-beta9

adrenaline681 commented 2 years ago

This is an old issue but if someone needs to fix this in the future, the solution is to roll back to Reactotron v2.17.1