mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
Mark floating promises with void
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
}, 800);
|
||||
|
||||
function copyToClipboard(clipboard: string) {
|
||||
toClipboard(clipboard);
|
||||
void toClipboard(clipboard);
|
||||
icon = "checkmark-small";
|
||||
restoreIcon();
|
||||
}
|
||||
@@ -217,7 +217,7 @@
|
||||
<div
|
||||
class="disconnect"
|
||||
on:click={() => {
|
||||
disconnect();
|
||||
void disconnect();
|
||||
closeFocused();
|
||||
}}>
|
||||
Disconnect
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
} else if (searchResult.type === "projects") {
|
||||
input = "";
|
||||
if (searchResult.results.length === 1) {
|
||||
router.push({
|
||||
void router.push({
|
||||
resource: "projects",
|
||||
params: {
|
||||
view: { resource: "tree" },
|
||||
|
||||
Reference in New Issue
Block a user