export const wait = (ms: number): Promise => { return new Promise((res) => setTimeout(res, ms)) }