Jm-Paunlagui / Matrix-Lab-Client

Found unnecessary fragments JS-0424
Anti-pattern
Major
1 occurrence in this check
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
 813                                  </p>
 814                                )}
 815                                {acceptedFiles.map((file) => (
 816                                  <> 817                                    <p 818                                      className="px-4 text-base font-bold text-transparent bg-clip-text bg-gradient-to-r from-blue-500 to-teal-500" 819                                      key={file.path} 820                                    > 821                                      {file 822                                        ? `${file.path} - ${file.size} bytes` 823                                        : ""} 824                                    </p> 825                                  </> 826                                ))}
 827                              </label>
 828                            </div>