2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

Fix for usePartFields (#7880)

This commit is contained in:
Oliver
2024-08-14 20:15:01 +10:00
committed by GitHub
parent 19ca7bffae
commit 8369b4a44a

View File

@ -13,7 +13,7 @@ export function usePartFields({
}: {
create?: boolean;
}): ApiFormFieldSet {
const settings = useGlobalSettingsState.getState();
const settings = useGlobalSettingsState();
return useMemo(() => {
const fields: ApiFormFieldSet = {