refactor: OptionsSite => SiteOptions for clearer naming

This commit is contained in:
2026-01-30 08:58:28 -05:00
parent 1e58b1f1e7
commit fefa98021b
8 changed files with 57 additions and 51 deletions

View File

@@ -0,0 +1,3 @@
export const useGeneralSettings = () => useAsyncGraphQLQuery("GeneralSettings", {}, {
transform: ({ generalSettings }) => generalSettings,
});

View File

@@ -0,0 +1,3 @@
export const useSiteOptions = () => useAsyncGraphQLQuery("SiteOptions", {}, {
transform: ({ siteOptions }) => siteOptions?.groupSiteOptions,
});