From fdf6c458547ab9203e6f49c220e80baeccadfdb0 Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com> Date: Thu, 7 Mar 2024 13:05:14 -0800 Subject: [PATCH] refactor: rename `unlistenGpws` to `unlistenGPWS` --- client/src/lib/utils/initializeTelemetry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/lib/utils/initializeTelemetry.ts b/client/src/lib/utils/initializeTelemetry.ts index bd7f70a..059dcb5 100644 --- a/client/src/lib/utils/initializeTelemetry.ts +++ b/client/src/lib/utils/initializeTelemetry.ts @@ -24,7 +24,7 @@ export const initializeTelemetry = async () => { telemetryStore.set(data['topic_name'], data['data']) }) - const unlistenGpws = await listen('telemetry_gpws', (event) => { + const unlistenGPWS = await listen('telemetry_gpws', (event) => { const data = JSON.parse(event.payload as string) as boolean if (data) { gpwsTriggeredSequence() @@ -34,7 +34,7 @@ export const initializeTelemetry = async () => { const unlistenAll = () => { unlistenStatus() unlistenTelemetry() - unlistenGpws() + unlistenGPWS() } return unlistenAll