Skip to content

Commit 5f9bde8

Browse files
authored
Merge pull request silverbulletmd#1 from silverbulletmd/zefhemel-patch-1
Add await
2 parents ad5e9ef + b90e7a0 commit 5f9bde8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hello.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ const loneRangerQuotes = [
88
];
99

1010
export async function helloWorld() {
11-
flashNotification(loneRangerQuotes[Math.floor(Math.random() * loneRangerQuotes.length)]);
12-
}
11+
await flashNotification(loneRangerQuotes[Math.floor(Math.random() * loneRangerQuotes.length)]);
12+
}

0 commit comments

Comments
 (0)