Skip to content

Commit

Permalink
@uppy/dashboard: fix TypeError when file.remote is nullish
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Dec 14, 2023
1 parent c48aa82 commit 8c7dc1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const renderFileName = (props) => {

const renderAuthor = (props) => {
const { author } = props.file.meta
const { providerName } = props.file.remote
const providerName = props.file.remote?.providerName
const dot = `\u00B7`

if (!author) {
Expand Down

0 comments on commit 8c7dc1b

Please sign in to comment.