minor cleanup

This commit is contained in:
2021-08-28 17:39:09 +02:00
parent 24e0bcbf92
commit 5f4da5d13f
14 changed files with 10 additions and 63 deletions

View File

@@ -1,5 +1,4 @@
import React from "react"
import PropTypes from "prop-types"
import { File } from "../generated/graphql"
import sizeToReadable from "../functions/sizeToReadable"
import dateFormat from "../functions/dateFomat"
@@ -26,8 +25,4 @@ const FileElement: React.FC<Props> = (props) => {
)
}
FileElement.propTypes = {
file: PropTypes.any.isRequired
}
export default FileElement