mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +00:00
Added translations to /noprojects route
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import { faFolderOpen } from "@fortawesome/free-regular-svg-icons";
|
import { getTranslatedServerSideProps } from "~/utilities/withTranslateProps";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
||||||
|
|
||||||
export default function NoProjects() {
|
export default function NoProjects() {
|
||||||
return (
|
return (
|
||||||
@@ -31,3 +30,5 @@ export default function NoProjects() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NoProjects.requireAuth = true;
|
NoProjects.requireAuth = true;
|
||||||
|
|
||||||
|
export const getServerSideProps = getTranslatedServerSideProps(["noprojects"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user