Skip to content

Commit

Permalink
Fix public folder not copied to build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakdan99 committed Nov 5, 2024
1 parent 83b3b6a commit 9eab084
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ i18n
fallbackLng: "en",
ns: ["common", "error", "deployment"],
backend: {
loadPath: "./locales/{{lng}}/{{ns}}.json",
loadPath: "/locales/{{lng}}/{{ns}}.json",
},
});

Expand Down
4 changes: 2 additions & 2 deletions src/pages/Deployment/index.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import StudyPageLayout from "@Components/Layout/StudyPageLayout";
import StudyHeader from "@Components/StudyHeader";
import { useTranslation } from "react-i18next";
import BasicInfo from "./BasicInfo";
import Participants from "./Participants";
import InformedConsentCard from "./InformedConsentCard";
import Devices from "./Devices";
import { useTranslation } from "react-i18next";

const Deployment = () => {
const { t } = useTranslation();

const sectionName = ["Deployments", "Deployment"];
const description = t("deployment:page_description");

return (
<StudyPageLayout>
<StudyHeader path={sectionName} description={description} />
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"confirm": "I'm sure I want to stop it",
"stop": "Stop"
},
"page_description": "\"See the detailed data of the Deployment. Select the participant for further individual data."
"page_description": "See the detailed data of the Deployment. Select the participant for further individual data."
}
File renamed without changes.

0 comments on commit 9eab084

Please sign in to comment.