diff --git a/app/gabsocial/features/forms/index.js b/app/gabsocial/features/forms/index.js index cb0fcd20e..2ce37cbb0 100644 --- a/app/gabsocial/features/forms/index.js +++ b/app/gabsocial/features/forms/index.js @@ -230,15 +230,14 @@ export class FileChooser extends ImmutablePureComponent { static propTypes = { label: PropTypes.string, hint: PropTypes.string, - fileTypes: PropTypes.array, } static defaultProps = { - fileTypes: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'], + accept: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'], } render() { - const { label, hint, fileTypes, ...props } = this.props; + const { label, hint, ...props } = this.props; const id = uuidv4(); return ( @@ -248,7 +247,6 @@ export class FileChooser extends ImmutablePureComponent {