refactor: OptionsSite => SiteOptions for clearer naming
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export const useGeneralSettings = () => useAsyncGraphQLQuery("GeneralSettings", {}, {
|
||||
transform: ({ generalSettings }) => generalSettings,
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
export const useSiteOptions = () => useAsyncGraphQLQuery("SiteOptions", {}, {
|
||||
transform: ({ siteOptions }) => siteOptions?.groupSiteOptions,
|
||||
});
|
||||
Reference in New Issue
Block a user