useFocusedTab returns the correct tab in focus until you navigate to some other screen and come back, As soon as you come back for eg: the tab in focus is second or third as the user may have navigated from, but the useFocusedTab always returns the first tab.
useFocusedTab returns the correct tab in focus until you navigate to some other screen and come back, As soon as you come back for eg: the tab in focus is second or third as the user may have navigated from, but the useFocusedTab always returns the first tab.