Fix infinit rerendering of TypeDeChamp component

fix #4428
This commit is contained in:
Paul Chavard 2019-10-24 13:31:54 +02:00
parent a1088599d1
commit a192924ee5

View file

@ -31,7 +31,7 @@ const TypeDeChamp = sortableElement(
!isHeaderSection && !isExplication && !state.isAnnotation;
const [ref, inView] = useInView({
threshold: [0.6]
threshold: 0.6
});
const updateHandlers = createUpdateHandlers(