apps/web/Components/Admin/AdminRow: fix logic

This commit is contained in:
obarykina 2024-03-27 17:25:37 +03:00
parent 7882a6ef8c
commit a98f30966a

View File

@ -44,7 +44,7 @@ export default function AdminRow(props: IProps) {
setItems(
[...items].map((obj) => ({
...obj,
children: <p>lolo</p>,
children: <p>{JSON.stringify(query)}</p>,
}))
);
};
@ -56,8 +56,3 @@ export default function AdminRow(props: IProps) {
</Wrapper>
);
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function addSlashToString(key: string) {
return key.replace(`"`, '"');
}