You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The promise resolves right after the error. If I directly pass a json object to src, it works. I use an async/await method and pass it down to the component as such: <ReactJson src={getSrc()} collapseStringsAfterLength={40} ... />
Any tips?
The text was updated successfully, but these errors were encountered:
Hey guys!
I found this issue but it didn't help at all -> #181
I am passing a fetched json to the
src
property and apparently the viewer isn't waiting for the promise to resolve and throws the exception instantly.The promise resolves right after the error. If I directly pass a json object to
src
, it works. I use an async/await method and pass it down to the component as such:<ReactJson src={getSrc()} collapseStringsAfterLength={40} ... />
Any tips?
The text was updated successfully, but these errors were encountered: