Skip to content

Commit

Permalink
Added link to box text. Iffy about this one
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaydenkim committed Jan 14, 2025
1 parent 1305131 commit 92a427b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion client/src/modules/Results/Components/FilteredResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ const FilteredResult = ({
}}
>
<div className="">
<h1 className={styles.title}>{theClass.classTitle}</h1>
<h1 className={styles.title}>
<a href={`/course/${course.classSub.toUpperCase()}/${course.classNum}`}>
{theClass.classTitle}
</a>
</h1>
<h2 className={styles.subtitle}>
{theClass.classSub.toUpperCase() +
' ' +
Expand Down
2 changes: 1 addition & 1 deletion client/src/modules/Results/Components/Results.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { Component, useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';
import axios from 'axios';

import Navbar from '../../Globals/Navbar';
Expand Down

0 comments on commit 92a427b

Please sign in to comment.