Skip to content

Commit 20e2e78

Browse files
authoredOct 7, 2024··
fix(ui): history error reported in the dev environment (#20133)
Signed-off-by: honglian.you <honglian.you@daocloud.io>
1 parent 345c8a1 commit 20e2e78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ export const PodsLogsViewer = (props: PodLogsProps) => {
9191
const logsContainerRef = useRef(null);
9292

9393
const setWithQueryParams = <T extends (val: any) => void>(key: string, cb: T) => {
94-
history.replaceState(null, '', `${location.pathname}?${queryParams}`);
95-
9694
return (val => {
9795
cb(val);
9896
queryParams.set(key, val.toString());

0 commit comments

Comments
 (0)
Please sign in to comment.