From 1d1a12e34c042cb41047fdb14e603ac974f79c99 Mon Sep 17 00:00:00 2001 From: Heclak <46121009+heclak@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:20:26 +0800 Subject: [PATCH] chore: code cleanup --- .../src/systems/instruments/src/FCU/Components/NdData.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fbw-a380x/src/systems/instruments/src/FCU/Components/NdData.tsx b/fbw-a380x/src/systems/instruments/src/FCU/Components/NdData.tsx index a29465c4941..fe072e8d95f 100644 --- a/fbw-a380x/src/systems/instruments/src/FCU/Components/NdData.tsx +++ b/fbw-a380x/src/systems/instruments/src/FCU/Components/NdData.tsx @@ -48,9 +48,7 @@ export class NdData extends DisplayComponent { this.sub .on('ovhd_ann_lt_test_active') .whenChanged() - .handle((v) => { - this.lightsTest.set(v); - }); + .handle((v) => this.lightsTest.set(v)); } render(): VNode | null {