apps/web/Components/Admin/AdminRow: fix logic
This commit is contained in:
parent
7882a6ef8c
commit
a98f30966a
@ -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(`"`, '"');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user