Skip to content
Snippets Groups Projects
Commit 8505c3e5 authored by danieldeng2's avatar danieldeng2
Browse files

Change year to 2021

parent 18432481
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
......@@ -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}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment