Merge pull request #1 from silverbulletmd/zefhemel-patch-1

Add await
This commit is contained in:
Guillermo Vayá
2022-07-24 09:54:10 +02:00
committed by GitHub

View File

@@ -8,5 +8,5 @@ const loneRangerQuotes = [
];
export async function helloWorld() {
flashNotification(loneRangerQuotes[Math.floor(Math.random() * loneRangerQuotes.length)]);
}
await flashNotification(loneRangerQuotes[Math.floor(Math.random() * loneRangerQuotes.length)]);
}