Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maltejur committed Jul 2, 2023
1 parent 03dd7a9 commit 9e1952d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/language/[language].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { OpenInNew } from "@material-ui/icons";
import { GetStaticPaths, GetStaticProps } from "next";
import useTranslation from "hooks/translation";
import { shouldUseISR } from "lib/aws";
import { Algorithm } from "lib/models";
import classes from "./style.module.css";

export default function LanguagePage({
Expand Down Expand Up @@ -60,7 +61,7 @@ export default function LanguagePage({
<AlgorithmsList
algorithms={language.algorithms.map((algorithm) => ({
...algorithm,
slug: algorithm.slug + "?lang=" + languageKey,
slug: `${algorithm.slug}?lang=${languageKey}`,
}))}
/>
</Section>
Expand Down

1 comment on commit 9e1952d

@vercel
Copy link

@vercel vercel bot commented on 9e1952d Jul 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

website – ./

website-thealgorithms.vercel.app
website-git-main-thealgorithms.vercel.app
the-algorithms.com

Please sign in to comment.