Fix for usePartFields (#7880)

This commit is contained in:
Oliver authored and GitHub committed 2024-08-14 20:15:01 +10:00
1 parent 19ca7bffae
commit 8369b4a44a
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ export function usePartFields({
}: {
create?: boolean;
}): ApiFormFieldSet {
const settings = useGlobalSettingsState.getState();
const settings = useGlobalSettingsState();
return useMemo(() => {
const fields: ApiFormFieldSet = {