1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

repair code error

This commit is contained in:
shanshuirenjia
2018-12-14 15:49:24 +08:00
parent 7b182d6105
commit e62f59b2a8
3 changed files with 75 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ import GenerateUploadLink from './generate-upload-link';
import '../../css/share-link-dialog.css';
const propTypes = {
itemType: PropTypes.bool.isRequired, // there will be three choose: ['library', 'dir', 'file']
itemType: PropTypes.string.isRequired, // there will be three choose: ['library', 'dir', 'file']
itemName: PropTypes.string.isRequired,
itemPath: PropTypes.string.isRequired,
toggleDialog: PropTypes.func.isRequired,