Files
wp-headless/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts
Pascal Martineau 2b2a1c1ad6
Some checks failed
Deployment / wordpress (push) Successful in 6s
Deployment / nuxt (push) Has been cancelled
feat: Replace eslint => oxlint + oxfmt
2026-02-01 21:53:40 -05:00

9 lines
172 B
TypeScript

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