refactor: rename unlistenGpws to unlistenGPWS

This commit is contained in:
Ananth Venkatesh 2024-03-07 13:05:14 -08:00 committed by GitHub
parent b2c77985c1
commit fdf6c45854
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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