mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
rtk-query-monitor
This commit is contained in:
parent
ab525dfc2e
commit
842c2bbabf
|
@ -45,8 +45,7 @@ function getText(
|
||||||
isDiff: boolean | undefined,
|
isDiff: boolean | undefined,
|
||||||
) {
|
) {
|
||||||
if (type === 'Object') {
|
if (type === 'Object') {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
const keys = Object.keys(data as object);
|
||||||
const keys = Object.keys(data as {});
|
|
||||||
if (!previewContent) return keys.length ? '{…}' : '{}';
|
if (!previewContent) return keys.length ? '{…}' : '{}';
|
||||||
|
|
||||||
const str = keys
|
const str = keys
|
||||||
|
|
Loading…
Reference in New Issue
Block a user