mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
Tidying
This commit is contained in:
parent
8d334c287c
commit
0c45a5667e
|
@ -2693,12 +2693,8 @@ export class App extends React.Component<IAppProps, IAppState> {
|
|||
* order for `onDrop` to fire.
|
||||
*/
|
||||
private onDragOver = (e: React.DragEvent<HTMLDivElement>) => {
|
||||
// We currently do not drag anything when a modal is open.
|
||||
// This will prevent needless checking of dragged items.
|
||||
if (!this.isShowingModal) {
|
||||
e.preventDefault()
|
||||
}
|
||||
}
|
||||
|
||||
public render() {
|
||||
if (this.loading) {
|
||||
|
|
Loading…
Reference in a new issue