diff --git a/src/renderer/navigation.ts b/src/renderer/navigation.ts index ce831feac4..9dcb84afc4 100644 --- a/src/renderer/navigation.ts +++ b/src/renderer/navigation.ts @@ -18,6 +18,7 @@ if (ipcRenderer) { } export function navigate(location: LocationDescriptor) { + if (history.location.pathname === location) return; navigation.push(location); }