Skip to content

Commit 575a66d

Browse files
committed
fix typecheck
1 parent 7edd16a commit 575a66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) {
7070
const styles = useThemeStyles();
7171
const {translate} = useLocalize();
7272
const {activeWorkspaceID} = useActiveWorkspace();
73-
const {currentReportID} = useCurrentReportID() ?? {currentReportID: null};
73+
const {currentReportID = null} = useCurrentReportID() ?? {};
7474
const [user] = useOnyx(ONYXKEYS.USER);
7575
const [betas] = useOnyx(ONYXKEYS.BETAS);
7676
const [priorityMode] = useOnyx(ONYXKEYS.NVP_PRIORITY_MODE);

0 commit comments

Comments
 (0)