mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
094e4cf555
* eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
6 lines
122 B
JavaScript
6 lines
122 B
JavaScript
export default function timeout (time) {
|
|
return new Promise((resolve) => {
|
|
setTimeout(resolve, time || 1500)
|
|
})
|
|
}
|