Skip to content

Commit

Permalink
Merge pull request #56 from 2024Clover-website/feature/script
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
ksj000625 authored Feb 28, 2024
2 parents 770f529 + af23d5f commit c94fc1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/page/Projects/Podcast/Mobile/PodcastContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect, useRef } from "react";

import axios from "axios";

import { useNavigate, useLocation } from "react-router-dom";
import { useLocation } from "react-router-dom";

import styles from "../../../../../styles/Projects/Docent/Mobile/DocentContent.module.css";

Expand All @@ -18,13 +18,13 @@ function PodcastContent() {
// const commentCount = location.state.commentCount;

const [progress, setProgress] = useState(100);
const [playbackRate, setPlaybackRate] = useState(1);
const [playbackRate] = useState(1);
const [isMuted] = useState(false);
const [script, setScript] = useState([]);
const [, setScript] = useState([]);
const [runningTime, setRunningTime] = useState(0);
const [isLoading, setIsLoading] = useState(true);

let relativePosition;
// let relativePosition;

// const handleSpeedClick = () => {
// if (audioRef.current) {
Expand Down

0 comments on commit c94fc1b

Please sign in to comment.