删除多余的依赖

This commit is contained in:
JIANG
2025-11-18 15:33:55 +08:00
parent 6748a8cee8
commit 401a2c03b1
3 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ const StyleEditorPanel: React.FC<StyleEditorPanelProps> = ({
setPipeText,
} = data;
const { open, close } = useNotification();
const { open } = useNotification();
const [applyJunctionStyle, setApplyJunctionStyle] = useState(false);
const [applyPipeStyle, setApplyPipeStyle] = useState(false);

View File

@@ -65,7 +65,7 @@ const Timeline: React.FC<TimelineProps> = ({
) {
return <div>Loading...</div>; // 或其他占位符
}
const { open, close } = useNotification();
const { open } = useNotification();
const [isPlaying, setIsPlaying] = useState<boolean>(false);
const [playInterval, setPlayInterval] = useState<number>(15000); // 毫秒

View File

@@ -37,7 +37,7 @@ interface PipePoint {
const AnalysisParameters: React.FC = () => {
const map = useMap();
const { open, close } = useNotification();
const { open } = useNotification();
const [pipePoints, setPipePoints] = useState<PipePoint[]>([]);
const [startTime, setStartTime] = useState<Dayjs | null>(dayjs(new Date()));