Looks like you're passing an inline function for 'component' prop for the screen
I made it work by passing what I wanted through params instead of props. For
you, it would look like this:
<Tab.Screen
name="Home"
component={PharmacyHome}
initialParams={{ catId: this.props.navigation.state.params }}
/>