Try to accept only GEDCOM files in upload file dialog

This commit is contained in:
Przemek Wiech 2019-02-01 00:42:58 +01:00
parent 3b4f05e9fc
commit 5d5bb65cd2

View File

@ -151,6 +151,7 @@ export class TopBar extends React.Component<RouteComponentProps, State> {
<input
className="hidden"
type="file"
accept=".ged"
id="fileInput"
onChange={(e) => this.handleUpload(e)}
/>