diff --git a/src/components/CANFilter/Add/__snapshots__/index.test.jsx.snap b/src/components/CANFilter/Add/__snapshots__/index.test.jsx.snap index d72040a..9d96d85 100644 --- a/src/components/CANFilter/Add/__snapshots__/index.test.jsx.snap +++ b/src/components/CANFilter/Add/__snapshots__/index.test.jsx.snap @@ -161,7 +161,6 @@ exports[`CANFiltersAdd Render 1`] = ` - f `; diff --git a/src/components/CANFilter/Add/index.jsx b/src/components/CANFilter/Add/index.jsx index b1bafac..0c64009 100644 --- a/src/components/CANFilter/Add/index.jsx +++ b/src/components/CANFilter/Add/index.jsx @@ -19,7 +19,7 @@ const MainForm = () => { const { setMessage, setTitle, setSitePath } = useStatusContext(); const [redirect, setRedirect] = useState(null); const classes = useStyles(); - const [canId, setCanId] = useState(null); + const [canId, setCanId] = useState(undefined); const [interval, setInterval] = useState(""); const [edgeMask, setEdgeMask] = useState(""); const queries = new URLSearchParams(useLocation().search); diff --git a/src/components/CANFilter/Add/index.test.jsx b/src/components/CANFilter/Add/index.test.jsx index 7afca84..5484339 100644 --- a/src/components/CANFilter/Add/index.test.jsx +++ b/src/components/CANFilter/Add/index.test.jsx @@ -23,7 +23,6 @@ const renderCANFiltersAdd = async () => { - f ); await waitFor(() => {}); diff --git a/src/components/Fleets/Status/CANFilters/Add/index.jsx b/src/components/Fleets/Status/CANFilters/Add/index.jsx index 726f7c3..0b653ee 100644 --- a/src/components/Fleets/Status/CANFilters/Add/index.jsx +++ b/src/components/Fleets/Status/CANFilters/Add/index.jsx @@ -16,7 +16,7 @@ const MainForm = () => { const { addFleetCANFilter, busy } = useFleetContext(); const { token: { idToken: { jwtToken: token } } } = useUserContext(); const classes = useStyles(); - const [canId, setCanId] = useState(null); + const [canId, setCanId] = useState(undefined); const [interval, setInterval] = useState(""); const [edgeMask, setEdgeMask] = useState(""); const [redirect, setRedirect] = useState(null);