Update wavesurfer

This commit is contained in:
Prayag Prajapati committed 2023-09-18 17:15:17 +05:30
1 parent efa8b958ee
commit 2c85f67467
2 files changed
+2 -1

No files matched your search

@@ -79,6 +79,7 @@ const AudioPlayer = () => {
height: 35, height: 35,
cursorColor: "#fb2376", cursorColor: "#fb2376",
progressColor: "#fb2376", progressColor: "#fb2376",
normalize: true,
}); });
waveSurfer.load(url); waveSurfer.load(url);
waveSurfer.on("ready", () => { waveSurfer.on("ready", () => {
+1 -1
View File
@@ -3,8 +3,8 @@
import { create } from "zustand"; import { create } from "zustand";
const initialState = { const initialState = {
url: "",
display: false, display: false,
url: "",
item: {}, item: {},
tracks: [], tracks: [],
currentTrack: 0, currentTrack: 0,