Skip to content

Commit

Permalink
Added translations to /noprojects route
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatsiiako committed Dec 27, 2022
1 parent cc251ba commit babf35b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/pages/noprojects.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import Image from "next/image";
import { faFolderOpen } from "@fortawesome/free-regular-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { getTranslatedServerSideProps } from "~/utilities/withTranslateProps";

export default function NoProjects() {
return (
Expand Down Expand Up @@ -31,3 +30,5 @@ export default function NoProjects() {
}

NoProjects.requireAuth = true;

export const getServerSideProps = getTranslatedServerSideProps(["noprojects"]);

0 comments on commit babf35b

Please sign in to comment.