16627: Replaced push with replace for history
[arvados-workbench2.git] / src / components / refresh-button / refresh-button.tsx
index f34a0213259a79f62950b9a5e0b1108b0644252d..66bda99e8f1e49d4329bfb92e78926bc2849562a 100644 (file)
@@ -28,7 +28,7 @@ export const RefreshButton = ({ history, classes }: RouteComponentProps & WithSt
         size="small"
         variant="contained"
         onClick={() => {
-            history.push(window.location.pathname);
+            history.replace(window.location.pathname);
         }}
         className={classNames(classes.buttonRight, classes.button)}>
         <ReRunProcessIcon />