generated from pascalmartineau/wp-skeleton
minor: add some ids here and there
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import type { TheSectionFragment } from "#graphql-operations";
|
||||
|
||||
const props = defineProps<{ sections: (TheSectionFragment)[] }>();
|
||||
const sections = props.sections.map(useSection);
|
||||
const props = defineProps<{ sections: (TheSectionFragment | null)[] }>();
|
||||
const sections = props.sections.filter(Boolean).map((section) => useSection(section!));
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user