fix missing collapsed prop after refactor (#10751)

This commit is contained in:
Josh Hawkins
2024-03-30 10:51:03 -05:00
committed by GitHub
parent 37394fbe19
commit 7d3b481181
3 changed files with 5 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ export function useCameraMotionNextTimestamp(
});
const noMotionRanges = useMemo(() => {
if (!motionData || !reviewItems || !motionData) {
if (!motionData?.length || !reviewItems) {
return;
}