refactor: rename unlistenGpws
to unlistenGPWS
This commit is contained in:
parent
b2c77985c1
commit
fdf6c45854
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue