Closed RWOverdijk closed 7 years ago
I think the issue is that you shouldn't call it as a method, but just pass it in:
const App = () => (
<Admin restClient={RestClient(trackedResources, firebaseConfig)} authClient={AuthClient}>
<Resource name="Configs" list={ConfigList} edit={ConfigEdit} />
</Admin>
);
Update:
I tested this using my own client (I need a provider) and it works fine.
@RWOverdijk you were right! Thanks a lot!
When using authClient I get the following error:
It works when removed. My code is really simple: