diff --git a/desktop/src/App.svelte b/desktop/src/App.svelte
index a1d42e057..04d95d735 100644
--- a/desktop/src/App.svelte
+++ b/desktop/src/App.svelte
@@ -135,8 +135,6 @@
run: () => {
// A reload would throw away whatever is being composed in a modal.
if (!modalHasTextEntry()) {
- // Matches the sidebar's reload button rather than re-fetching per
- // route.
window.location.reload();
}
},
diff --git a/desktop/src/components/AppSidebar.svelte b/desktop/src/components/AppSidebar.svelte
index 42341cbf0..7cb0153ca 100644
--- a/desktop/src/components/AppSidebar.svelte
+++ b/desktop/src/components/AppSidebar.svelte
@@ -640,16 +640,6 @@
stylePadding="0">
-
diff --git a/desktop/tests/e2e/leaveProfile.spec.ts b/desktop/tests/e2e/leaveProfile.spec.ts
index 21fc43426..c53ec3b8d 100644
--- a/desktop/tests/e2e/leaveProfile.spec.ts
+++ b/desktop/tests/e2e/leaveProfile.spec.ts
@@ -135,7 +135,7 @@ test("a device in two profiles leaves one and waits for the approval", async ({
// The wait is read from the profile, so another device's vote shows when
// the page loads again.
(joined.pending[0] as { rejected: string[] }).rejected = [aliceRemote];
- await page.getByRole("button", { name: "Reload" }).click();
+ await page.reload();
await expect(row(joinedRid)).toContainText("1 of 2 approved, 1 rejected.");
// The other device may never answer, so the leave can be taken back.