Open source video conferencing app powered by LiveKit. Built with Django and React.
🚨(frontend) fix eslint errors
lebaudantoine96b279b350bf
diff --git a/src/frontend/src/features/rooms/livekit/api/lowerHandParticipants.ts b/src/frontend/src/features/rooms/livekit/api/lowerHandParticipants.tsindex 2568b261..c61fed05 100644--- a/src/frontend/src/features/rooms/livekit/api/lowerHandParticipants.ts+++ b/src/frontend/src/features/rooms/livekit/api/lowerHandParticipants.ts@@ -11,6 +11,7 @@ export const useLowerHandParticipants = () => {)return Promise.all(promises)} catch (error) {+ console.error('An error occurred while lowering hands :', error)throw new Error('An error occurred while lowering hands.')}}diff --git a/src/frontend/src/primitives/Checkbox.tsx b/src/frontend/src/primitives/Checkbox.tsxindex e762718a..97fdbcfd 100644--- a/src/frontend/src/primitives/Checkbox.tsx+++ b/src/frontend/src/primitives/Checkbox.tsx@@ -134,10 +134,11 @@ export const Checkbox = ({><StyledCheckbox {...props}>{(renderProps) => {- renderProps.isInvalid && !!props.validate- ? setError(props.validate(renderProps.isSelected))- : setError(null)-+ if (renderProps.isInvalid && !!props.validate) {+ setError(props.validate(renderProps.isSelected))+ } else {+ setError(null)+ }return (<><div className="mt-Checkbox-checkbox">