Mark floating promises with void

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-05-29 15:54:00 +02:00
parent 930210da80
commit 37f6cccced
14 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
if (isAuthenticated) {
modal.show({ component: AuthenticatedModal, props: {} });
router.push({
void router.push({
resource: "seeds",
params: { hostnamePort: "radicle.local", projectPageIndex: 0 },
});
@@ -33,7 +33,7 @@
],
},
});
router.push({ resource: "home" });
void router.push({ resource: "home" });
}
});
</script>