Skip to content

Commit

Permalink
chore(types): Remove prop-types
Browse files Browse the repository at this point in the history
Now that it's a typescript file
  • Loading branch information
MonkeyDo committed Feb 19, 2024
1 parent 9ef902c commit 7873c96
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/client/components/input/drag-and-drop-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

import PropTypes from 'prop-types';
import React from 'react';


Expand Down Expand Up @@ -71,11 +70,5 @@ function DragAndDropImage({achievementId, achievementName, height, src}: Props):
}

DragAndDropImage.displayName = 'DragAndDropImage';
DragAndDropImage.propTypes = {
achievementId: PropTypes.number.isRequired,
achievementName: PropTypes.string.isRequired,
height: PropTypes.string.isRequired,
src: PropTypes.string.isRequired
};

export default DragAndDropImage;

0 comments on commit 7873c96

Please sign in to comment.