mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
BulkMoveButton: Fix prop-types
This commit is contained in:
parent
1a91b52e7c
commit
6da2461d3c
@ -17,7 +17,7 @@ const ParentFolderDefinition = PropTypes.shape({
|
|||||||
createdAt: PropTypes.string.isRequired,
|
createdAt: PropTypes.string.isRequired,
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
updatedAt: PropTypes.string.isRequired,
|
updatedAt: PropTypes.string.isRequired,
|
||||||
pathId: PropTypes.string.isRequired,
|
pathId: PropTypes.number.isRequired,
|
||||||
path: PropTypes.string.isRequired,
|
path: PropTypes.string.isRequired,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ export const FolderDefinition = PropTypes.shape({
|
|||||||
parent: PropTypes.oneOfType([ParentFolderDefinition, PropTypes.number]),
|
parent: PropTypes.oneOfType([ParentFolderDefinition, PropTypes.number]),
|
||||||
updatedAt: PropTypes.string.isRequired,
|
updatedAt: PropTypes.string.isRequired,
|
||||||
updatedBy: PropTypes.shape(),
|
updatedBy: PropTypes.shape(),
|
||||||
pathId: PropTypes.string.isRequired,
|
pathId: PropTypes.number.isRequired,
|
||||||
path: PropTypes.string.isRequired,
|
path: PropTypes.string.isRequired,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const useFolder = jest.fn().mockReturnValue({
|
|||||||
count: 1,
|
count: 1,
|
||||||
},
|
},
|
||||||
path: '/1',
|
path: '/1',
|
||||||
pathId: '1',
|
pathId: 1,
|
||||||
updatedAt: '',
|
updatedAt: '',
|
||||||
parent: {
|
parent: {
|
||||||
id: 2,
|
id: 2,
|
||||||
@ -23,7 +23,7 @@ export const useFolder = jest.fn().mockReturnValue({
|
|||||||
count: 1,
|
count: 1,
|
||||||
},
|
},
|
||||||
path: '/1',
|
path: '/1',
|
||||||
pathId: '1',
|
pathId: 1,
|
||||||
updatedAt: '',
|
updatedAt: '',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -24,7 +24,7 @@ const FIXTURE_FOLDER = {
|
|||||||
count: 1,
|
count: 1,
|
||||||
},
|
},
|
||||||
path: '/1',
|
path: '/1',
|
||||||
pathId: '1',
|
pathId: 1,
|
||||||
updatedAt: '',
|
updatedAt: '',
|
||||||
parent: {
|
parent: {
|
||||||
id: 2,
|
id: 2,
|
||||||
@ -37,7 +37,7 @@ const FIXTURE_FOLDER = {
|
|||||||
count: 1,
|
count: 1,
|
||||||
},
|
},
|
||||||
path: '/1',
|
path: '/1',
|
||||||
pathId: '1',
|
pathId: 1,
|
||||||
updatedAt: '',
|
updatedAt: '',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user