Skip to content

Commit

Permalink
fix ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
teticio committed Dec 25, 2023
1 parent e88be21 commit aafb879
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/components/Playlist.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
//import 'react-native-get-random-values';
import { v4 as uuidv4 } from 'uuid';
import("expo-standard-web-crypto").then(({ polyfillWebCrypto }) => {
polyfillWebCrypto();
}).catch(error => {});
import { IFrame } from './Platform';

function loadWebCrypto() {
import("expo-standard-web-crypto")
.then(({ polyfillWebCrypto }) => {
polyfillWebCrypto();
})
.catch(error => {
});
}

loadWebCrypto();

export default function Playlist({ track_ids = [], waypoints = [], playlist_id = '' }) {
const height = 80 + 50 * track_ids.length;

Expand Down

0 comments on commit aafb879

Please sign in to comment.