diff --git a/apps/dispatch/app/_components/QueryProvider.tsx b/apps/dispatch/app/_components/QueryProvider.tsx index de75b3d6..562d4b64 100644 --- a/apps/dispatch/app/_components/QueryProvider.tsx +++ b/apps/dispatch/app/_components/QueryProvider.tsx @@ -57,7 +57,6 @@ export function QueryProvider({ children }: { children: ReactNode }) { }; const handleNotification = (notification: NotificationPayload) => { - console.log("notification", notification); switch (notification.type) { case "hpg-validation": toast.custom( diff --git a/apps/dispatch/app/_components/map/AircraftMarker.tsx b/apps/dispatch/app/_components/map/AircraftMarker.tsx index 34babeff..67386da0 100644 --- a/apps/dispatch/app/_components/map/AircraftMarker.tsx +++ b/apps/dispatch/app/_components/map/AircraftMarker.tsx @@ -227,7 +227,6 @@ const AircraftMarker = ({ aircraft }: { aircraft: ConnectedAircraft & { Station: useEffect(() => { const handleClick = () => { - console.log("Marker clicked", aircraft.id); const open = openAircraftMarker.some((m) => m.id === aircraft.id); if (open) { setOpenAircraftMarker({ diff --git a/apps/dispatch/app/_components/map/Map.tsx b/apps/dispatch/app/_components/map/Map.tsx index 7bd7b6b7..b108fff9 100644 --- a/apps/dispatch/app/_components/map/Map.tsx +++ b/apps/dispatch/app/_components/map/Map.tsx @@ -24,14 +24,10 @@ const Map = () => { }, [map, setMap]); useEffect(() => { - console.log("Map center or zoom changed"); - if (ref.current) { const center = ref.current?.getCenter(); const zoom = ref.current?.getZoom(); - console.log("Map center or zoom changed", center.equals(map.center), zoom === map.zoom); if (!center.equals(map.center) || zoom !== map.zoom) { - console.log("Updating map center and zoom"); ref.current.setView(map.center, map.zoom); } } diff --git a/apps/dispatch/app/_helpers/liveKitEventHandler.ts b/apps/dispatch/app/_helpers/liveKitEventHandler.ts index 33af642a..9a625eb8 100644 --- a/apps/dispatch/app/_helpers/liveKitEventHandler.ts +++ b/apps/dispatch/app/_helpers/liveKitEventHandler.ts @@ -14,7 +14,6 @@ export const handleTrackSubscribed = ( publication: RemoteTrackPublication, participant: RemoteParticipant, ) => { - console.log("Track subscribed:", track, publication, participant); if (!track.isMuted) { useAudioStore.getState().addSpeakingParticipant(participant); } diff --git a/apps/dispatch/app/_querys/aircrafts.ts b/apps/dispatch/app/_querys/aircrafts.ts index 23bdabde..81549720 100644 --- a/apps/dispatch/app/_querys/aircrafts.ts +++ b/apps/dispatch/app/_querys/aircrafts.ts @@ -53,7 +53,6 @@ export const kickAircraftAPI = async ({ const res = await serverApi.delete(`/aircrafts/${id}`, { data: { bann, reason, until }, }); - console.log(res.status); if (res.status != 204) { throw new Error("Failed to kick aircraft"); } diff --git a/apps/dispatch/app/_querys/dispatcher.ts b/apps/dispatch/app/_querys/dispatcher.ts index c5e24c37..5865b9ae 100644 --- a/apps/dispatch/app/_querys/dispatcher.ts +++ b/apps/dispatch/app/_querys/dispatcher.ts @@ -39,7 +39,6 @@ export const kickDispatcherAPI = async ({ const res = await serverApi.delete(`/dispatcher/${id}`, { data: { bann, reason, until }, }); - console.log(res.status); if (res.status != 204) { throw new Error("Failed to kick aircraft"); } diff --git a/apps/dispatch/app/_store/dispatch/connectionStore.ts b/apps/dispatch/app/_store/dispatch/connectionStore.ts index 08124821..e338452f 100644 --- a/apps/dispatch/app/_store/dispatch/connectionStore.ts +++ b/apps/dispatch/app/_store/dispatch/connectionStore.ts @@ -68,7 +68,6 @@ dispatchSocket.on("disconnect", () => { }); dispatchSocket.on("force-disconnect", (reason: string) => { - console.log("force-disconnect", reason); useDispatchConnectionStore.setState({ status: "disconnected", message: reason, diff --git a/apps/dispatch/app/_store/pilot/connectionStore.ts b/apps/dispatch/app/_store/pilot/connectionStore.ts index 06616c0b..0693d92f 100644 --- a/apps/dispatch/app/_store/pilot/connectionStore.ts +++ b/apps/dispatch/app/_store/pilot/connectionStore.ts @@ -97,7 +97,6 @@ pilotSocket.on("disconnect", () => { }); pilotSocket.on("force-disconnect", (reason: string) => { - console.log("force-disconnect", reason); usePilotConnectionStore.setState({ status: "disconnected", message: reason, diff --git a/apps/hub/app/(app)/_components/PenaltyCountdown.tsx b/apps/hub/app/(app)/_components/PenaltyCountdown.tsx index c404df59..16b12257 100644 --- a/apps/hub/app/(app)/_components/PenaltyCountdown.tsx +++ b/apps/hub/app/(app)/_components/PenaltyCountdown.tsx @@ -32,8 +32,6 @@ export const PenaltyCountdown: React.FC = ({ until }) => return () => clearInterval(interval); }, [until, mounted]); - console.log("PenaltyCountdown until:", until, "timeLeft:", timeLeft); - if (!mounted) return null; return ( diff --git a/apps/hub/app/(app)/settings/_components/forms.tsx b/apps/hub/app/(app)/settings/_components/forms.tsx index bdeb5e08..24906be2 100644 --- a/apps/hub/app/(app)/settings/_components/forms.tsx +++ b/apps/hub/app/(app)/settings/_components/forms.tsx @@ -70,7 +70,6 @@ export const ProfileForm = ({ }, resolver: zodResolver(schema), }); - console.log(user); return (
Vatsim-Nutzer} + columns={ + [ + { header: "Vorname", accessorKey: "firstname" }, + { + header: "Nachname", + accessorKey: "lastname", + cell: ({ row }) => row.original.lastname[0], + }, + { header: "Vatsim CID", accessorKey: "vatsimCid" }, + ] as ColumnDef[] + } + /> + ); +}