Files
wp-headless/wp-content/themes/moonshine/app/composables/useSiteOptions.ts
Pascal Martineau 9bb09b89d9
All checks were successful
Deployment / wordpress (push) Successful in 6s
Deployment / nuxt (push) Successful in 58s
feat: Replace eslint => oxlint + oxfmt
2026-02-01 22:06:16 -05:00

9 lines
173 B
TypeScript

export const useSiteOptions = () =>
useAsyncGraphQLQuery(
"SiteOptions",
{},
{
transform: ({ siteOptions }) => siteOptions?.groupSiteOptions,
}
);