From 268b3634d0d41734bddc124765108983f42bc942 Mon Sep 17 00:00:00 2001 From: William Levack Payne <108789355+WillLP-code@users.noreply.github.com> Date: Tue, 14 May 2024 12:42:28 +0000 Subject: [PATCH] feat: updates default year in load data, load data 903 and load data cin --- src/pages/loadData/LoadData.tsx | 2 +- src/pages/loadData/LoadData903.tsx | 1 + src/pages/loadData/LoadDataCIN.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/loadData/LoadData.tsx b/src/pages/loadData/LoadData.tsx index 3fc08ac..1dd3a7a 100644 --- a/src/pages/loadData/LoadData.tsx +++ b/src/pages/loadData/LoadData.tsx @@ -57,7 +57,7 @@ const LoadData = (props: LoadDataPageProps) => { const [loading, setLoading] = useState(false); const [loadingMessage, setLoadingMessage] = useState(''); - const [collectionYear, setCollectionYear] = useState('2023'); + const [collectionYear, setCollectionYear] = useState('2025'); useEffect(() => { const init = async () => { diff --git a/src/pages/loadData/LoadData903.tsx b/src/pages/loadData/LoadData903.tsx index fff8aff..991d04e 100644 --- a/src/pages/loadData/LoadData903.tsx +++ b/src/pages/loadData/LoadData903.tsx @@ -341,6 +341,7 @@ const LoadData903 = (props: LoadDataViewProps) => { setCollectionYear(event.target.value as string); }} > + 2024/25 2023/24 2022/23 diff --git a/src/pages/loadData/LoadDataCIN.tsx b/src/pages/loadData/LoadDataCIN.tsx index bcc4b91..087bdcc 100644 --- a/src/pages/loadData/LoadDataCIN.tsx +++ b/src/pages/loadData/LoadDataCIN.tsx @@ -200,6 +200,7 @@ const LoadDataCIN = (props: LoadDataViewProps) => { setCollectionYear(event.target.value as string); }} > + 2024/25 2023/24 2022/23