fix: remove unsafe ref mutation during render #5982
Annotations
11 warnings
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
packages/sanity/src/core/comments/components/list/CommentsListItem.tsx#L359
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/components/pte/comment-input/Editable.tsx#L107
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/components/pte/comment-input/Editable.tsx#L107
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/components/pte/comment-input/Editable.tsx#L198
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/components/reactions/CommentReactionsBar.tsx#L120
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/components/reactions/CommentReactionsBar.tsx#L135
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/helpers.ts#L10
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/plugin/input/components/CommentsPortableTextInput.tsx#L262
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/plugin/input/components/CommentsPortableTextInput.tsx#L441
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
lint:
packages/sanity/src/core/comments/plugin/input/components/CommentsPortableTextInput.tsx#L528
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|