Skip to content

Commit 53bc274

Browse files
committed
fix folder auto-expand on save
1 parent ea38451 commit 53bc274

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/modules/IDE/actions/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function submitFile(formProps, files, parentId, projectId) {
6363
children: []
6464
};
6565
return apiClient
66-
.post(`/projects/${projectId}/files`, postParams) //
66+
.post(`/projects/${projectId}/files`, postParams)
6767
.then((response) => ({
6868
file: response.data.updatedFile,
6969
updatedAt: response.data.project.updatedAt

client/modules/IDE/reducers/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const initialState = () => {
1919
children: [b, a, c],
2020
fileType: 'folder',
2121
content: '',
22-
isFolderClosed: false //
22+
isFolderClosed: false
2323
},
2424
{
2525
name: 'sketch.js',

0 commit comments

Comments
 (0)