删除多余的依赖
This commit is contained in:
@@ -169,7 +169,7 @@ const StyleEditorPanel: React.FC<StyleEditorPanelProps> = ({
|
|||||||
setPipeText,
|
setPipeText,
|
||||||
} = data;
|
} = data;
|
||||||
|
|
||||||
const { open, close } = useNotification();
|
const { open } = useNotification();
|
||||||
|
|
||||||
const [applyJunctionStyle, setApplyJunctionStyle] = useState(false);
|
const [applyJunctionStyle, setApplyJunctionStyle] = useState(false);
|
||||||
const [applyPipeStyle, setApplyPipeStyle] = useState(false);
|
const [applyPipeStyle, setApplyPipeStyle] = useState(false);
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ const Timeline: React.FC<TimelineProps> = ({
|
|||||||
) {
|
) {
|
||||||
return <div>Loading...</div>; // 或其他占位符
|
return <div>Loading...</div>; // 或其他占位符
|
||||||
}
|
}
|
||||||
const { open, close } = useNotification();
|
const { open } = useNotification();
|
||||||
|
|
||||||
const [isPlaying, setIsPlaying] = useState<boolean>(false);
|
const [isPlaying, setIsPlaying] = useState<boolean>(false);
|
||||||
const [playInterval, setPlayInterval] = useState<number>(15000); // 毫秒
|
const [playInterval, setPlayInterval] = useState<number>(15000); // 毫秒
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ interface PipePoint {
|
|||||||
|
|
||||||
const AnalysisParameters: React.FC = () => {
|
const AnalysisParameters: React.FC = () => {
|
||||||
const map = useMap();
|
const map = useMap();
|
||||||
const { open, close } = useNotification();
|
const { open } = useNotification();
|
||||||
|
|
||||||
const [pipePoints, setPipePoints] = useState<PipePoint[]>([]);
|
const [pipePoints, setPipePoints] = useState<PipePoint[]>([]);
|
||||||
const [startTime, setStartTime] = useState<Dayjs | null>(dayjs(new Date()));
|
const [startTime, setStartTime] = useState<Dayjs | null>(dayjs(new Date()));
|
||||||
|
|||||||
Reference in New Issue
Block a user