<commit_before>import React from 'react';
import { formatTime } from '../../utilities/formatTime';

import './hourlyweather.css';

export function HourlyWeather(props) {
    const { time, temp, precip } = props;
    const hour = new Date(time);
    const hourOptions = { hour: 'numeric', minute: 'numeric' };
    return (
        <div className="hourlyweather">
            <div className="hourlyweather-temp">{temp.toFixed()}&deg;</div>
            <div className="hourlyweather-time">{formatTime(time)}</div>
            {
                (precip) ? (<div className="hourlyweather-precip">{(precip.chance * 100).toFixed()}% chance of {precip.type}</div>) : <div></div>
            }
        </div>
    );
}<commit_msg>removed unused vars<commit_after>import React from 'react';
import { formatTime } from '../../utilities/formatTime';

import './hourlyweather.css';

export function HourlyWeather(props) {
    const { time, temp, precip } = props;
    return (
        <div className="hourlyweather">
            <div className="hourlyweather-temp">{temp.toFixed()}&deg;</div>
            <div className="hourlyweather-time">{formatTime(time)}</div>
            {
                (precip) ? (<div className="hourlyweather-precip">{(precip.chance * 100).toFixed()}% chance of {precip.type}</div>) : <div></div>
            }
        </div>
    );
}
{'fraction_non_alphanumeric': 0.17272053372868792, 'fraction_numerical': 0.004447739065974796, 'mean_word_length': 2.8461538461538463, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7471201', 'n_tokens_mistral': 421, 'n_tokens_neox': 400, 'n_words': 80}