@bigbinary/neeto-fields-frontend 1.4.0-beta1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -376,7 +376,7 @@ const queryClient = useQueryClient();
376
376
  fieldValues={user.fieldValues} // We expect the user response from host's backend to send associated field_values with it.
377
377
  resourceId={user?.id}
378
378
  resourceType="users"
379
- onMutationSuccess={() => queryClient.invalidateQueries(["users"])}
379
+ onMutationSuccess={() => queryClient.invalidateQueries({ queryKey: ["users"]})}
380
380
  customComponents={{
381
381
  hostSpecificKindName: field => <HostSpecificInputFields />,
382
382
  }}