mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-22 04:00:19 +02:00
✨ test alert email works
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export function getRandomItemInArray<T>(array: T[]) {
|
||||
// Source - https://stackoverflow.com/a/4550514
|
||||
const randomElement = array[Math.floor(Math.random() * array.length)];
|
||||
return randomElement;
|
||||
}
|
||||
Reference in New Issue
Block a user