website/src/views/today/DayHeader.tsx
Function DayHeader
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const DayHeader: React.FC<Props> = (props) => {
const { forecast } = props;
const Icon = forecast ? getWeatherIcon(forecast) : null;
const dates = castArray(props.date);