Skip to content

Commit 3df51f1

Browse files
committed
Test base file
1 parent 818aace commit 3df51f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [

src/components/IdeInterface/IdeInterface.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ interface IdeInterfaceProps {
4646
layout: Layout;
4747
options?: Options;
4848
splashIcon?: JSX.Element;
49+
baseFile?: Entry;
4950
}
5051

5152
const 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) {

0 commit comments

Comments
 (0)