Skip to content

Commit c2a60b0

Browse files
Update src/adapters/ExpoAVVideoAdapter.tsx
Co-authored-by: kalifyaniv-cloudinary <[email protected]>
1 parent 424a36e commit c2a60b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/adapters/ExpoAVVideoAdapter.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ export class ExpoAVVideoAdapter implements VideoPlayerAdapter {
5959
}
6060
},
6161
onLoadStart: (data: any) => {
62-
if (props.onLoadStart) {
63-
props.onLoadStart(data);
64-
}
62+
props.onLoadStart?.(data);
6563
},
6664
});
6765
}

0 commit comments

Comments
 (0)