From c44e3305ba9edd3540ac182dbc902579ad259fd9 Mon Sep 17 00:00:00 2001 From: Geoff Kendal Date: Wed, 31 Jan 2024 21:06:48 +0000 Subject: [PATCH] ci --- .github/workflows/build.yml | 2 +- frontend/src/TicketChild.js | 1 + frontend/src/TicketVehicle.js | 1 + frontend/src/UserView.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a7a60a..4bdca70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies working-directory: frontend - run: pwd && npm ci + run: npm install - name: Build React app working-directory: frontend diff --git a/frontend/src/TicketChild.js b/frontend/src/TicketChild.js index 1dd4967..2595d6b 100644 --- a/frontend/src/TicketChild.js +++ b/frontend/src/TicketChild.js @@ -72,6 +72,7 @@ const TicketChild = ({ groupCode }) => { useEffect(() => { fetchParentData(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [groupCode]); diff --git a/frontend/src/TicketVehicle.js b/frontend/src/TicketVehicle.js index 26e1a28..a9d7c8a 100644 --- a/frontend/src/TicketVehicle.js +++ b/frontend/src/TicketVehicle.js @@ -70,6 +70,7 @@ const TicketVehicle = ({ groupCode }) => { useEffect(() => { fetchDriverData(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [groupCode]); diff --git a/frontend/src/UserView.js b/frontend/src/UserView.js index 89787aa..1e87ae7 100644 --- a/frontend/src/UserView.js +++ b/frontend/src/UserView.js @@ -47,6 +47,7 @@ const UserView = ({ groupCode }) => { useEffect(() => { fetchData(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [groupCode]); const handleRemoveTicket = async (ticketId) => {