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