diff --git a/readme.md b/readme.md index 49525f3..fcdcdaf 100644 --- a/readme.md +++ b/readme.md @@ -26,6 +26,7 @@ ALLOWED_TIME_OUT_OF_ZONE_IN_MINUTES is the time a user can be out of the zone be ALLOWED_TIME_BETWEEN_POSITION_UPDATE_IN_MINUTES is the maximum amount of time a user can wait before updating their position, after this period they will recieve a pennalty. Note : make sure PORT and NEXT_PUBLIC_SOCKET_PORT are the same +Note 2 : you need to get a trusted certificate for this to work, you can use letsencrypt for that ### Running the project #### Front end diff --git a/traque-front/components/team/actionDrawer.jsx b/traque-front/components/team/actionDrawer.jsx index ef96c2b..833284d 100644 --- a/traque-front/components/team/actionDrawer.jsx +++ b/traque-front/components/team/actionDrawer.jsx @@ -30,10 +30,10 @@ export default function ActionDrawer() { return (
- setVisible(!visible)} /> + setVisible(!visible)} /> {visible &&
- +
diff --git a/traque-front/components/team/enemyTeamModal.jsx b/traque-front/components/team/enemyTeamModal.jsx index 84a9f32..f8d1873 100644 --- a/traque-front/components/team/enemyTeamModal.jsx +++ b/traque-front/components/team/enemyTeamModal.jsx @@ -23,7 +23,7 @@ export function EnemyTeamModal({ visible, onClose }) {

{enemyName}

- Close
diff --git a/traque-front/components/team/waitingScreen.jsx b/traque-front/components/team/waitingScreen.jsx index e06b322..3a1d0e7 100644 --- a/traque-front/components/team/waitingScreen.jsx +++ b/traque-front/components/team/waitingScreen.jsx @@ -42,7 +42,7 @@ export function WaitingScreen() { Envoyer
- {teamId && + return } \ No newline at end of file