Jm-Paunlagui / Matrix-Lab-Client

Found unnecessary fragments JS-0424
Anti-pattern
Major
a year ago2 years old
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
 796                                      </p>
 797                                    )}
 798                                    {acceptedFiles.map((file) => (
 799                                      <> 800                                        <p 801                                          className="px-4 text-base font-bold text-transparent bg-clip-text bg-gradient-to-r from-blue-500 to-teal-500" 802                                          key={file.path} 803                                        > 804                                          {file 805                                            ? `${file.path} - ${file.size} bytes` 806                                            : ""} 807                                        </p> 808                                      </> 809                                    ))}
 810                                  </label>
 811                                </div>