1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

typescript, yolo

This commit is contained in:
Matthias Kretschmann 2022-01-25 14:25:14 +00:00
parent 5683d7b187
commit fde7449aad
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -21,7 +21,7 @@ export default function Graph(): ReactElement {
const { price, ddo, refreshInterval } = useAsset()
const darkMode = useDarkMode(false, darkModeConfig)
const [options, setOptions] = useState<ChartOptions>()
const [options, setOptions] = useState<ChartOptions<any>>()
const [graphType, setGraphType] = useState<GraphType>('liquidity')
const [error, setError] = useState<Error>()
const [isLoading, setIsLoading] = useState(true)