File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
web-app/src/components/Router Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 11import * as React from 'react'
2- import * as CR from 'typings'
32import { createMachine } from '../../services/state/machine'
43import { useMachine } from '../../services/xstate-react'
54import Route from './Route'
@@ -9,11 +8,6 @@ interface Props {
98 children : any
109}
1110
12- interface CloneElementProps {
13- context : CR . MachineContext
14- send ( action : CR . Action ) : void
15- }
16-
1711declare let acquireVsCodeApi : any
1812
1913const editor = acquireVsCodeApi ( )
@@ -41,7 +35,7 @@ const useRouter = () => {
4135 }
4236 } , [ ] )
4337
44- const Router = ( { children } : Props ) : React . ReactElement < CloneElementProps > | null => {
38+ const Router = ( { children } : Props ) : React . ReactElement < any > | null => {
4539 const childArray = React . Children . toArray ( children )
4640 for ( const child of childArray ) {
4741 // match path
You can’t perform that action at this time.
0 commit comments