Skip to content

Commit

Permalink
fix: Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Sep 20, 2021
1 parent bfc2531 commit cd3402f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ data:
NODE_ENV: "production"
MATOMO_SITE_ID: "47"
MATOMO_URL: "https://matomo.fabrique.social.gouv.fr/"
NEXT_PUBLIC_API_URL: "backoffice-develop-dev-les1000jours.dev.fabrique.social.gouv.fr"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ data:
NODE_ENV: "production"
MATOMO_SITE_ID: "47"
MATOMO_URL: "https://matomo.fabrique.social.gouv.fr/"
NEXT_PUBLIC_API_URL: "backoffice-preprod-les1000jours.dev.fabrique.social.gouv.fr"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ data:
NODE_ENV: "production"
MATOMO_SITE_ID: "47"
MATOMO_URL: "https://matomo.fabrique.social.gouv.fr/"
NEXT_PUBLIC_API_URL: "backoffice-les1000jours.fabrique.social.gouv.fr"
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ module.exports = {
},
]
},
// env: {
// API_URL: process.env.API_URL
// }
}
4 changes: 1 addition & 3 deletions pages/questionnaire-epds.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ import { ContentLayout } from "../src/components/Layout";
import { HeaderImage } from "../src/components/HeaderImage";
import { EpdsQuestion } from "../src/components/EpdsQuestion";
import {
API_URL,
STORAGE_TOTAL_SCORE,
EPDS_SOURCE,
EpdsGender,
STORAGE_RESULTS_BOARD,
STORAGE_GENRE_PATIENT
} from "../src/constants/constants";
console.log("API_URL:", API_URL);
console.log("process.env.NEXT_PUBLIC_API_URL:", process.env.NEXT_PUBLIC_API_URL);

export default function QuestionnaireEPDS({ questionsEpds, resultsBoard }) {
const { t } = useTranslation('questionnaire-epds');
const router = useRouter();
Expand Down

0 comments on commit cd3402f

Please sign in to comment.