Skip to content

Initial files is doubling previews in DropzoneDialog #363

@AHD-02

Description

@AHD-02

Bug Report

Describe the bug

when passing an array of string length = 1 to initialFiles in the dialog the preview is showing it 2 times

Steps to reproduce

Expected behavior

it should only display it one time

Versions

  • OS: [e.g. iOS]
  • Browser: [e.g. chrome, safari]
  • @mui/material version: [e.g. 5.0.2]
  • material-ui-dropzone version: [e.g. 3.0.1]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions