Skip to content

Commit 7067588

Browse files
committed
fix: try using window.location.pathname
1 parent ec5c9a3 commit 7067588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commons/application/Application.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const Application: React.FC = () => {
124124
dispatch(WorkspaceActions.evalEditor(message.workspaceLocation));
125125
break;
126126
case MessageTypeNames.Navigate:
127-
window.location.replace(message.route);
127+
window.location.pathname = message.route;
128128
// TODO: Figure out why this doesn't work, this is faster in theory
129129
// navigate(message.route);
130130
break;

0 commit comments

Comments
 (0)