refactor: nodes props
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 59s

This commit is contained in:
2025-09-24 15:23:34 -04:00
parent 5f2c464c9a
commit 5c49583287
6 changed files with 21 additions and 15 deletions

View File

@@ -1,11 +1,12 @@
<script setup lang="ts">
import type { TheMembershipFragment } from "#graphql-operations";
defineProps<{ node: TheMembershipFragment }>();
const props = defineProps<TheMembershipFragment>();
useSeoMeta({ title: props.title });
</script>
<template>
<UPage>
<UPageSection v-if="node.title" :title="node.title" />
<UPageSection v-if="title" :title="title" />
</UPage>
</template>
</template>