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
 814                                  </p>
 815                                )}
 816                                {acceptedFiles.map((file) => (
 817                                  <> 818                                    <p 819                                      className="px-4 text-base font-bold text-transparent bg-clip-text bg-gradient-to-r from-blue-500 to-teal-500" 820                                      key={file.path} 821                                    > 822                                      {file 823                                        ? `${file.path} - ${file.size} bytes` 824                                        : ""} 825                                    </p> 826                                  </> 827                                ))}
 828                              </label>
 829                            </div>