How to add a component such as PostList or PostEdit as a child to a component
When using the supabase dataprovider starter tutorial I am trying to add the PostList component as a child to another unrelated component. The component loads the list accordingly but it is in a loading state. When checking on the network call the API call was made successfully and the dataprovider was invoked.
I am trying to do something similar to below
Something similar to below:
import React from "react";
import { PostList } from "./list";
function Hello() {
return (
<div>
<div>hello</div>
<PostList />
</div>
);
}
export default Hello;
When linking this component to my router I just get the loading spinner in my list.
I am trying to do something similar to below
Something similar to below:
import React from "react";
import { PostList } from "./list";
function Hello() {
return (
<div>
<div>hello</div>
<PostList />
</div>
);
}
export default Hello;
When linking this component to my router I just get the loading spinner in my list.

