Tiny fixes + start pre-rendering

This commit is contained in:
Julien Nahum
2023-12-22 14:59:42 +01:00
parent 5a07064eee
commit 57ba033a91
7 changed files with 782 additions and 848 deletions

View File

@@ -55,7 +55,7 @@ export const loadAllTemplates = async (store, options={}) => {
if (!store.allLoaded) {
store.startLoading()
store.initTypesAndIndustries()
const {data} = await fetchAllTemplates(options)
const {data,error} = await fetchAllTemplates(options)
store.set(data.value)
store.stopLoading()
store.allLoaded = true