mirror of
https://github.com/oceanprotocol/react.git
synced 2025-01-24 17:21:58 +01:00
fix lint
This commit is contained in:
parent
658f432873
commit
2dd83a6502
@ -8,7 +8,7 @@ import { useState } from 'react'
|
||||
import { DataTokenOptions } from './DataTokenOptions'
|
||||
import { useOcean } from 'providers'
|
||||
import ProviderStatus from 'providers/OceanProvider/ProviderStatus'
|
||||
import { publishFeedback , sleep } from 'utils'
|
||||
import { publishFeedback, sleep } from 'utils'
|
||||
|
||||
interface UsePublish {
|
||||
publish: (
|
||||
|
@ -40,7 +40,7 @@ export const publishFeedback: { [key in number]: string } = {
|
||||
|
||||
export * from './web3'
|
||||
|
||||
export function sleep(ms: number) {
|
||||
export function sleep(ms: number): Promise<void> {
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(resolve, ms)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user