From ae6fdedf0d7a17c5f18752d8dcaee70750080c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=83=A4=E8=89=AF?= <2540251142@qq.com> Date: Tue, 14 Nov 2023 14:04:14 -0700 Subject: [PATCH] fix use effect --- app/frontend/src/sections/voices/voices-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/src/sections/voices/voices-card.js b/app/frontend/src/sections/voices/voices-card.js index ad44c91f..89959705 100644 --- a/app/frontend/src/sections/voices/voices-card.js +++ b/app/frontend/src/sections/voices/voices-card.js @@ -1,4 +1,4 @@ -import React, {useState} from 'react'; +import React, {useState , useEffect} from 'react'; import { Card, Typography, Avatar, Box, IconButton } from '@mui/material'; import PlayIcon from '@mui/icons-material/PlayCircleOutline'; import PauseIcon from '@mui/icons-material/PauseCircleOutline';