Skip to content

Commit

Permalink
Merge pull request #466 from cornell-dti/aq/fix-courses
Browse files Browse the repository at this point in the history
Fix auth not working in Course page
qiandrewj authored Oct 24, 2024
2 parents 42ca524 + 74f0980 commit 13abd5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/modules/Course/Components/Course.tsx
Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@ export const Course = () => {
const [pageStatus, setPageStatus] = useState<PageStatus>(PageStatus.Loading)
const [scrolled, setScrolled] = useState(false)

const { isLoggedIn, token } = useAuthOptionalLogin()

/**
* Arrow functions for sorting reviews
*/

0 comments on commit 13abd5b

Please sign in to comment.