atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Invalid React code in 'Use in code' dialog for tables

Open Polleps opened this issue 11 months ago • 0 comments

Row should not have class of Table

const Row = ({ subject }: { subject: string }) => {
  const row = useResource<DataBrowser.Table>(subject);
  const [value] = useArray(resource, 'http://localhost:9883/class/Pokemon/property-mzOKDISV');

  return <li>{row.title}: {value}</li>;
};

Polleps avatar Feb 26 '25 13:02 Polleps