From f7df8adf79a494f89e888902d2346431c1617a98 Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Thu, 30 Nov 2023 15:51:21 +0100 Subject: [PATCH] fix: lint errors --- src/components/CustomStatusBar/index.tsx | 2 +- src/styles/themes/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CustomStatusBar/index.tsx b/src/components/CustomStatusBar/index.tsx index 6c6a38119aa9..2e4994378264 100644 --- a/src/components/CustomStatusBar/index.tsx +++ b/src/components/CustomStatusBar/index.tsx @@ -67,7 +67,7 @@ const CustomStatusBar: CustomStatusBarType = ({isNested = false}) => { useEffect(() => { navigationRef.addListener('state', updateStatusBarStyle); - return () => navigationRef.removeListener('state', navigationStateListener); + return () => navigationRef.removeListener('state', updateStatusBarStyle); }, [updateStatusBarStyle]); useEffect(() => { diff --git a/src/styles/themes/types.ts b/src/styles/themes/types.ts index 05306b4f7565..c674b6057d0f 100644 --- a/src/styles/themes/types.ts +++ b/src/styles/themes/types.ts @@ -1,4 +1,4 @@ -import {ColorScheme, StatusBarStyle} from '@styles/styles'; +import {type ColorScheme, type StatusBarStyle} from '@styles/styles'; import CONST from '@src/CONST'; type Color = string;