File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/components/IdeInterface Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jderobot-ide-interface" ,
3- "version" : " 0.1.69 " ,
3+ "version" : " 0.1.70 " ,
44 "main" : " dist/main.js" ,
55 "typings" : " dist/index.d.ts" ,
66 "files" : [
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ interface IdeInterfaceProps {
4646 layout : Layout ;
4747 options ?: Options ;
4848 splashIcon ?: JSX . Element ;
49+ baseFile ?: Entry ;
4950}
5051
5152const IdeInterface = ( {
@@ -60,8 +61,9 @@ const IdeInterface = ({
6061 layout,
6162 options,
6263 splashIcon,
64+ baseFile
6365} : IdeInterfaceProps ) => {
64- const [ currentFile , setCurrentFile ] = useState < Entry | undefined > ( undefined ) ;
66+ const [ currentFile , setCurrentFile ] = useState < Entry | undefined > ( baseFile ) ;
6567 const theme = useTheme ( ) ;
6668
6769 if ( splashIcon === undefined ) {
You can’t perform that action at this time.
0 commit comments