Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: cleaning up comments

Ilian Sapundsheiv8856c4134319
diff --git a/app/components/LocationManager.tsx b/app/components/LocationManager.tsx
index 3799c562b..6edfda69c 100644
--- a/app/components/LocationManager.tsx
+++ b/app/components/LocationManager.tsx
@@ -637,24 +637,6 @@ class LocationManager extends React.Component<Props, State> {
}
};
- /*renderBodyCell = props => (
- <td {...props} style={{ position: 'relative' }}>
- <TargetMoveFileBox
- // @ts-ignore
- accepts={[DragItemTypes.FILE]}
- onDrop={this.handleFileMoveDrop}
- path={
- //TODO rethink this its not reliable to get path like that (try Picture)
- props.children[0] !== undefined
- ? props.children[0]._owner.key
- : undefined
- }
- // locationType={location.type}
- >
- {props.children}
- </TargetMoveFileBox>
- </td>
- );*/
renderBodyRow = props => (
<TargetTableMoveFileBox
// @ts-ignore
diff --git a/app/components/TargetMoveFileBox.tsx b/app/components/TargetMoveFileBox.tsx
index 879267900..29c35a8ee 100644
--- a/app/components/TargetMoveFileBox.tsx
+++ b/app/components/TargetMoveFileBox.tsx
@@ -19,7 +19,6 @@
import React from 'react';
import { DropTarget } from 'react-dnd';
import { withStyles } from '@material-ui/core/styles/index';
-import i18n from '../services/i18n';
const styles: any = () => ({
dropzone: {
@@ -33,12 +32,6 @@ const styles: any = () => ({
zIndex: 1,
border: '3px dashed white',
display: 'flex'
- /* justifyContent: 'center',
- alignItems: 'center',
- textAlign: 'center',
- fontSize: '20px',
- fontWeight: 'bold',
- color: 'white' */
}
});