feat: useSiteOptions / useGeneralSettings
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export const useGeneralSettings = () =>
|
||||
useAsyncGraphQLQuery(
|
||||
"GeneralSettings",
|
||||
{},
|
||||
{
|
||||
transform: (data) => data.generalSettings,
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user