Files
wp-headless/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts
Pascal Martineau f831c4e339
All checks were successful
Deployment / wordpress (push) Successful in 6s
Deployment / nuxt (push) Successful in 1m4s
feat: Replace eslint => oxlint + oxfmt
2026-02-01 21:54:16 -05:00

9 lines
172 B
TypeScript

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