|
@@ -2,7 +2,7 @@ import React from 'react'
|
2
|
2
|
import { translate } from 'react-i18next'
|
3
|
3
|
import PropTypes from 'prop-types'
|
4
|
4
|
import classnames from 'classnames'
|
5
|
|
-import FileItem from './FileItem.jsx'
|
|
5
|
+// import FileItem from './FileItem.jsx'
|
6
|
6
|
import PopupExtandedAction from '../../container/PopupExtandedAction.jsx'
|
7
|
7
|
|
8
|
8
|
class Folder extends React.Component {
|
|
@@ -38,7 +38,13 @@ class Folder extends React.Component {
|
38
|
38
|
}
|
39
|
39
|
|
40
|
40
|
render () {
|
41
|
|
- const { app, folderData, onClickItem, onClickFolder, isLast, t } = this.props
|
|
41
|
+ const {
|
|
42
|
+ // app,
|
|
43
|
+ folderData,
|
|
44
|
+ // onClickItem,
|
|
45
|
+ // onClickFolder,
|
|
46
|
+ isLast,
|
|
47
|
+ t } = this.props
|
42
|
48
|
|
43
|
49
|
return (
|
44
|
50
|
<div className={classnames('folder', {'active': this.state.open, 'item-last': isLast})}>
|
|
@@ -205,8 +211,8 @@ Folder.propTypes = {
|
205
|
211
|
title: PropTypes.string.isRequired,
|
206
|
212
|
content: PropTypes.array
|
207
|
213
|
}),
|
208
|
|
- app: PropTypes.object,
|
209
|
|
- onClickItem: PropTypes.func.isRequired,
|
210
|
|
- onClickFolder: PropTypes.func.isRequired,
|
|
214
|
+ // app: PropTypes.object,
|
|
215
|
+ // onClickItem: PropTypes.func.isRequired,
|
|
216
|
+ // onClickFolder: PropTypes.func.isRequired,
|
211
|
217
|
isLast: PropTypes.bool.isRequired
|
212
|
218
|
}
|