constructor()

in src/app/AthenaNetCore/AthenaNetCore.WebApp/ClientApp/src/components/CovidTestingByDate.js [22:39]


    constructor(props) {
        super(props);
        var date = new Date();
        date.setDate(date.getDate() - 1);
        this.state = {
            maxDate: date.toISOString().split("T")[0],
            selectedValue: "--",
            covidTesting: [],
            isLoading: true,
            isCheckingStatus: false,
            statusData: {
                attempt: 0,
                queryId: ""
            }
        };

        this.stateSelectChange = this.stateSelectChange.bind(this);
    }