base zone components and type refinements
This commit is contained in:
parent
9d96e3a6dc
commit
5c56af0dad
38 changed files with 323 additions and 54 deletions
|
@ -16,5 +16,5 @@ import type Global from "../types/single/global";
|
|||
const { findOne } = useStrapi();
|
||||
|
||||
const { data: global } = await useAsyncData("global", () => findOne<Global>("global"));
|
||||
const { footer } = global.value?.data as unknown as Global;
|
||||
const { footer } = global.value?.data ?? ({} as Global);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue