Tiny fixes + start pre-rendering
This commit is contained in:
2
client/stores/templates.js
vendored
2
client/stores/templates.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user