Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
add lang path
Browse files Browse the repository at this point in the history
  • Loading branch information
warreprovoost committed May 7, 2024
1 parent dcc3040 commit d29405c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/Courses/CourseUtilComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
import { Link, useNavigate, useLocation } from "react-router-dom";
import { useState, useEffect, useMemo } from "react";
import { useTranslation } from "react-i18next";
import i18next from "i18next";
import debounce from "debounce";
import { authenticatedFetch } from "../../utils/authenticated-fetch";

Expand Down Expand Up @@ -347,7 +348,7 @@ function EmptyOrNotProjects({
return (
<Grid item key={project.project_id}>
<Link
to={`/projects/${getIdFromLink(project.project_id)}`}
to={`/${i18next.language}/projects/${getIdFromLink(project.project_id)}`}
style={{ textDecoration: "none", color: "inherit" }}
>
<EpsilonTypography
Expand Down

0 comments on commit d29405c

Please sign in to comment.