From 8505c3e58993f351407b88e6ddbd6be4bc2d4f1e Mon Sep 17 00:00:00 2001
From: danieldeng2 <danieldeng223@gmail.com>
Date: Tue, 18 Aug 2020 15:57:46 +0100
Subject: [PATCH] Change year to 2021

---
 src/components/pages/ModuleResources/index.tsx | 1 +
 src/components/pages/StandardView/index.tsx    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/components/pages/ModuleResources/index.tsx b/src/components/pages/ModuleResources/index.tsx
index b50828886..a00508609 100644
--- a/src/components/pages/ModuleResources/index.tsx
+++ b/src/components/pages/ModuleResources/index.tsx
@@ -53,6 +53,7 @@ class ModuleResources extends React.Component<ResourcesProps, ResourceState> {
 			let resourceArr: Resource[] = [];
 			
       data.json().then((json) => {
+				console.log(`data: ${data}`);
         for (const key in json) {
           let resource = json[key];
           resourceArr.push({
diff --git a/src/components/pages/StandardView/index.tsx b/src/components/pages/StandardView/index.tsx
index 6a8f3e0a8..c698d9c7f 100644
--- a/src/components/pages/StandardView/index.tsx
+++ b/src/components/pages/StandardView/index.tsx
@@ -82,7 +82,7 @@ const StandardView: React.FC<StandardViewProps> = ({
             path="/modules/:id/resources/:scope?"
             render={(props) => (
               <ModuleResources
-                year="1819"
+                year="2021"
                 moduleID={props.match.params.id}
                 scope={props.match.params.scope}
               />
-- 
GitLab