From 3811b1f3660ef418a54e331a79b3e0234b13e7de Mon Sep 17 00:00:00 2001 From: Toba Ojo Date: Wed, 17 Sep 2025 14:39:56 +0100 Subject: [PATCH] increasing sizing --- src/components/HistoryList/HistoryList.tsx | 1 - src/components/PlateStack/NumberPlate.tsx | 14 ++++++------- .../SettingForms/System/SystemFileUpload.tsx | 2 +- .../SettingForms/WiFi&Modem/WiFiCard.tsx | 1 - .../SightingModal/SightingModal.tsx | 20 +++++++------------ src/components/UI/Header.tsx | 12 +++++++---- src/components/UI/ModalComponent.tsx | 2 +- src/context/reducers/AlertReducers.ts | 1 - src/hooks/useCameraConfig.ts | 1 - src/hooks/useGetOverviewSnapshot.ts | 2 +- 10 files changed, 25 insertions(+), 31 deletions(-) diff --git a/src/components/HistoryList/HistoryList.tsx b/src/components/HistoryList/HistoryList.tsx index 580fc3d..bb83749 100644 --- a/src/components/HistoryList/HistoryList.tsx +++ b/src/components/HistoryList/HistoryList.tsx @@ -5,7 +5,6 @@ import AlertItem from "./AlertItem"; const HistoryList = () => { const { state } = useAlertHitContext(); - console.log(state); return ( diff --git a/src/components/PlateStack/NumberPlate.tsx b/src/components/PlateStack/NumberPlate.tsx index 51ea6ca..56438f7 100644 --- a/src/components/PlateStack/NumberPlate.tsx +++ b/src/components/PlateStack/NumberPlate.tsx @@ -9,16 +9,16 @@ type NumberPlateProps = { const NumberPlate = ({ motion, vrm }: NumberPlateProps) => { return (
-
-
+
+
-

+

{vrm && formatNumberPlate(vrm)}

diff --git a/src/components/SettingForms/System/SystemFileUpload.tsx b/src/components/SettingForms/System/SystemFileUpload.tsx index d5c0b5c..dddf6af 100644 --- a/src/components/SettingForms/System/SystemFileUpload.tsx +++ b/src/components/SettingForms/System/SystemFileUpload.tsx @@ -19,7 +19,7 @@ const SystemFileUpload = ({ name, selectedFile }: SystemFileUploadProps) => { opts: { timeoutMs: 30000, fieldName: "upload", - uploadUrl: "http://192.168.75.11/upload/software-update/2'", + uploadUrl: "http://192.168.75.11/upload/software-update/2", }, }; uploadSettings(settings); diff --git a/src/components/SettingForms/WiFi&Modem/WiFiCard.tsx b/src/components/SettingForms/WiFi&Modem/WiFiCard.tsx index c9a288c..275aada 100644 --- a/src/components/SettingForms/WiFi&Modem/WiFiCard.tsx +++ b/src/components/SettingForms/WiFi&Modem/WiFiCard.tsx @@ -11,7 +11,6 @@ const WiFiCard = () => { return ( -