diff --git a/src/components/DbcViewer.tsx b/src/components/DbcViewer.tsx index 0b00eede..7c3f8988 100644 --- a/src/components/DbcViewer.tsx +++ b/src/components/DbcViewer.tsx @@ -5,7 +5,7 @@ import { dbcReader } from 'candied/lib/filesystem/DbcWebFs'; import { useEffect, useState } from 'react'; const DbcViewer = () => { - const [dbcData, setDbcData] = useState(null); + const [dbcData, setDbcData] = useState(); useEffect(() => { const dbc = new Dbc(); diff --git a/tsconfig.json b/tsconfig.json index fae2c239..76db242f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,7 @@ { - "extends": "@docusaurus/tsconfig" + "extends": "@docusaurus/tsconfig", + "compilerOptions": { + "baseUrl": ".", + "ignoreDeprecations": "6.0" + } }