mirror of
https://github.com/strapi/strapi.git
synced 2025-10-30 01:17:28 +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,
|
||||
name: PropTypes.string.isRequired,
|
||||
updatedAt: PropTypes.string.isRequired,
|
||||
pathId: PropTypes.string.isRequired,
|
||||
pathId: PropTypes.number.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
});
|
||||
|
||||
@ -37,7 +37,7 @@ export const FolderDefinition = PropTypes.shape({
|
||||
parent: PropTypes.oneOfType([ParentFolderDefinition, PropTypes.number]),
|
||||
updatedAt: PropTypes.string.isRequired,
|
||||
updatedBy: PropTypes.shape(),
|
||||
pathId: PropTypes.string.isRequired,
|
||||
pathId: PropTypes.number.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
});
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ export const useFolder = jest.fn().mockReturnValue({
|
||||
count: 1,
|
||||
},
|
||||
path: '/1',
|
||||
pathId: '1',
|
||||
pathId: 1,
|
||||
updatedAt: '',
|
||||
parent: {
|
||||
id: 2,
|
||||
@ -23,7 +23,7 @@ export const useFolder = jest.fn().mockReturnValue({
|
||||
count: 1,
|
||||
},
|
||||
path: '/1',
|
||||
pathId: '1',
|
||||
pathId: 1,
|
||||
updatedAt: '',
|
||||
},
|
||||
},
|
||||
|
||||
@ -24,7 +24,7 @@ const FIXTURE_FOLDER = {
|
||||
count: 1,
|
||||
},
|
||||
path: '/1',
|
||||
pathId: '1',
|
||||
pathId: 1,
|
||||
updatedAt: '',
|
||||
parent: {
|
||||
id: 2,
|
||||
@ -37,7 +37,7 @@ const FIXTURE_FOLDER = {
|
||||
count: 1,
|
||||
},
|
||||
path: '/1',
|
||||
pathId: '1',
|
||||
pathId: 1,
|
||||
updatedAt: '',
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user