EsLint
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
"use client";
|
||||
type AnalogInput = {
|
||||
id: number;
|
||||
label: string;
|
||||
unit: string;
|
||||
};
|
||||
import React, { useEffect } from "react";
|
||||
import { Line } from "react-chartjs-2";
|
||||
import { getColor } from "@/utils/colors";
|
||||
@@ -38,7 +43,7 @@ export default function AnalogInputsChart({
|
||||
}) {
|
||||
const selectedInput = useSelector(
|
||||
(state: RootState) => state.selectedAnalogInput
|
||||
);
|
||||
) as unknown as AnalogInput | null;
|
||||
|
||||
const dispatch = useDispatch<AppDispatch>();
|
||||
const { data } = useSelector(
|
||||
|
||||
Reference in New Issue
Block a user