Closed fbessou closed 4 years ago
Oh sorry, i fixed this in my PR https://github.com/uptick/react-keyed-file-browser/pull/110 as well, because you had not linked to the issue, i thought that is still open.
I would suggest you may close this PR and we use mine because that also bumps react-dnd version, which allows for better extensibility.
No problem, let's move to your PR then :)
The early return in handleRenameSubmit was only checking for renameFolder presence but we don't need this to create a folder.
Maybe we should have a distinct handleCreateSubmit method and extract common code in a helper function/private method.