1nwf / Produx-v2

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
8 months ago2 years old
 65                            }`}
 66                            onClick={() => setChannel(c)}
 67                        >
 68                            {channels[c].icon + ' ' + c} 69                        </span>
 70                    ))}
 71                </div>
 79                    <div className="mt-3">
 80                        <span className={'break-all text-gray-600'}>
 81                            {data.description.length > 400
 82                                ? data.description.substring(0, 400) + '...' 83                                : data.description}
 84                        </span>
 85                    </div>