add initialData to queries

This commit is contained in:
daniel31x13
2024-08-01 18:40:08 -04:00
parent 75b1ae738f
commit a73e5fa6c6
35 changed files with 46 additions and 39 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ interface ExtendedTreeItem extends TreeItem {
const CollectionListing = () => {
const { t } = useTranslation();
const updateCollection = useUpdateCollection();
const { data: collections = [] } = useCollections();
const { data: collections } = useCollections();
const { data: user = [] } = useUser();
const { data: user } = useUser();
const updateUser = useUpdateUser();
const router = useRouter();