调整健康风险分析时间轴重置按钮行为
This commit is contained in:
@@ -150,7 +150,6 @@ const Timeline: React.FC<TimelineProps> = ({
|
||||
|
||||
const handleStop = useCallback(() => {
|
||||
setIsPlaying(false);
|
||||
setSelectedDateTime(getRoundedDate(new Date()));
|
||||
if (intervalRef.current) {
|
||||
clearInterval(intervalRef.current);
|
||||
intervalRef.current = null;
|
||||
|
||||
Reference in New Issue
Block a user