-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @C-Coretex |
Beta Was this translation helpful? Give feedback.
-
Hi @C-Coretex if you are building an
|
Beta Was this translation helpful? Give feedback.
Hi @C-Coretex
The approach you are following is meant to build your custom data source, so not using Firestore. You don't need to do that unless you want to persist or fetch data from a different source than Firestore.
If your admins collection is in Firestore, you can use the Datasource that is provided by FireCMS.
In order to do that, just use the hook
useDataSource
(provided by the library, no need to create your own!)