Skip to content

fix: remove unnecessary function #340

fix: remove unnecessary function

fix: remove unnecessary function #340

Triggered via push January 31, 2024 12:57
Status Success
Total duration 39s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 warning
eslint: src/components/EmojiStaticKeyboard.tsx#L128
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component and pass data as props. If you want to allow component creation in props, set allowAsProps option to true