1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-29 01:30:16 +02:00

minor fixes and docs

This commit is contained in:
Kushagra Gour
2018-10-15 15:06:52 +05:30
parent b91028532f
commit 15f24f92b2
4 changed files with 16 additions and 7 deletions

View File

@@ -214,6 +214,7 @@ export class SidePane extends Component {
}
dropHandler(e) {
e.preventDefault();
// Object with `children` key is to simulate a folder structure for root folder
this.props.onFileDrop(e.dataTransfer.getData('text/plain'), {
children: this.props.files
});