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