From a98f30966a0902db1701cd9ce1396b6cd10a10f5 Mon Sep 17 00:00:00 2001 From: obarykina Date: Wed, 27 Mar 2024 17:25:37 +0300 Subject: [PATCH] apps/web/Components/Admin/AdminRow: fix logic --- apps/web/Components/Admin/AdminRow/AdminRow.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/web/Components/Admin/AdminRow/AdminRow.tsx b/apps/web/Components/Admin/AdminRow/AdminRow.tsx index 021d0ee..b0b4ddf 100644 --- a/apps/web/Components/Admin/AdminRow/AdminRow.tsx +++ b/apps/web/Components/Admin/AdminRow/AdminRow.tsx @@ -44,7 +44,7 @@ export default function AdminRow(props: IProps) { setItems( [...items].map((obj) => ({ ...obj, - children:

lolo

, + children:

{JSON.stringify(query)}

, })) ); }; @@ -56,8 +56,3 @@ export default function AdminRow(props: IProps) { ); } - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -function addSlashToString(key: string) { - return key.replace(`"`, '"'); -}