Merge pull request #4436 from tchak/component-rendering-fix
Fix infinit rerendering of TypeDeChamp component
This commit is contained in:
commit
3afcdcd9f3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ const TypeDeChamp = sortableElement(
|
|||
!isHeaderSection && !isExplication && !state.isAnnotation;
|
||||
|
||||
const [ref, inView] = useInView({
|
||||
threshold: [0.6]
|
||||
threshold: 0.6
|
||||
});
|
||||
|
||||
const updateHandlers = createUpdateHandlers(
|
||||
|
|
Loading…
Reference in a new issue