Skip to content

Commit

Permalink
fix accept property for custom chart upload, closes #370
Browse files Browse the repository at this point in the history
  • Loading branch information
bianchimro committed Nov 8, 2023
1 parent 7073d64 commit efd1f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CustomChartLoader/CustomChartLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function LoadFromFile({ loading, load }) {
} = useDropzone({
disabled: loading,
onDrop,
accept: 'text/plan,text/javascript',
accept: 'text/plain,text/javascript,.js',
maxFiles: 1,
})
return (
Expand Down

0 comments on commit efd1f8b

Please sign in to comment.