fix(sanity): open correct groups and fieldsets on setOpenPath
#1928
Annotations
10 warnings
lint:
packages/sanity/src/core/components/commandList/CommandList.tsx#L309
This mutates a variable that React considers immutable
|
lint:
packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx#L83
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/components/hookCollection/HookStateContainer.ts#L15
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx#L228
Mutating a value returned from a function whose return value should not be mutated
|
lint:
packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L25
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L33
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L94
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L113
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
|
lint:
packages/sanity/src/core/hooks/useUserListWithPermissions.ts#L100
Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
|
lint:
packages/sanity/src/core/studio/components/navbar/search/components/filters/filter/inputs/asset/Asset.tsx#L36
Hooks must be called at the top level in the body of a function component or custom hook, and may not be called within function expressions. See the Rules of Hooks (https://react.dev/warnings/invalid-hook-call-warning)
|