We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d2214 commit 1729f2bCopy full SHA for 1729f2b
site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx
@@ -37,7 +37,7 @@ export const WorkspaceReadyPage = ({
37
workspaceState,
38
quotaState,
39
workspaceSend,
40
- shouldRestartWorkspace
+ shouldRestartWorkspace,
41
}: WorkspaceReadyPageProps): JSX.Element => {
42
const [bannerState, bannerSend] = useActor(
43
workspaceState.children["scheduleBannerMachine"],
@@ -76,8 +76,6 @@ export const WorkspaceReadyPage = ({
76
useEffect(() => {
77
// workspaces can be started without being stopped first
78
shouldRestartWorkspace && workspaceSend({ type: "START" })
79
- // clear location state
80
- window.history.replaceState({}, document.title)
81
}, [shouldRestartWorkspace, workspaceSend])
82
83
return (
0 commit comments