Administrator
2023-08-25 fc1e38abb2c5c56ac119e2af346c6f3c5f4e5fd5
1
2
3
4
export function removeFromArray(arr, elem) {
  const idx = arr.indexOf(elem)
  if (idx !== -1) arr.splice(idx, 1)
}