mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
76a2a9bb8b
* @metamask/eslint-config@5.0.0 * Update eslintrc and prettierrc * yarn lint:fix
6 lines
123 B
JavaScript
6 lines
123 B
JavaScript
export default function timeout(time) {
|
|
return new Promise((resolve) => {
|
|
setTimeout(resolve, time || 1500);
|
|
});
|
|
}
|