File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export const App: React.FunctionComponent<IAppProps> = ({ }: React.PropsWithChil
108108 setResponse ( JSON . stringify ( response . digest ) ) ;
109109 }
110110 return response ;
111- } catch ( err ) {
111+ } catch ( err : any ) {
112112 setIsError ( true ) ;
113113 setError ( err . message ) ;
114114 return err ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ declare const acquireVsCodeApi: <T = unknown>() => {
1313
1414const queryClient = new QueryClient ( ) ;
1515
16- const root = createRoot ( document . getElementById ( "root" ) )
16+ const root = createRoot ( document . getElementById ( "root" ) ! ) ;
1717if ( root ) {
1818 root . render ( < QueryClientProvider client = { queryClient } >
1919 < SuiClientProvider networks = { networkConfig } defaultNetwork = "testnet" >
@@ -26,5 +26,5 @@ if (root) {
2626// @ts -expect-error
2727if ( import . meta. webpackHot ) {
2828 // @ts -expect-error
29- import . meta. webpackHot . accept ( )
29+ import . meta. webpackHot . accept ( ) ;
3030}
You can’t perform that action at this time.
0 commit comments