mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
chore: cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ export const useAudioTrack = () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (videoRef?.getStatusAsync && audioObject) {
|
||||
if (videoRef && audioObject) {
|
||||
const videoStatus = await videoRef.getStatusAsync();
|
||||
|
||||
if (selectedAudioTrack && videoStatus.isLoaded) {
|
||||
|
Reference in New Issue
Block a user