Files
wp-headless/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts
Pascal Martineau b89f02955d
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:00:54 -05:00

9 lines
171 B
TypeScript

export const useGeneralSettings = () =>
useAsyncGraphQLQuery(
"GeneralSettings",
{},
{
transform: ({ generalSettings }) => generalSettings,
}
);