diff --git a/packages/web-shared/providers/NavigationProvider.js b/packages/web-shared/providers/NavigationProvider.js index 4daeb85b..9c6d83e9 100644 --- a/packages/web-shared/providers/NavigationProvider.js +++ b/packages/web-shared/providers/NavigationProvider.js @@ -15,7 +15,7 @@ const NavigationProvider = (props = {}) => { if (shouldUsePathRouter) { navigate = ({ id } = {}) => { - const type = id.include('FeatureFeed') ? 'content' : 'feed'; + const type = id.includes('FeatureFeed') ? 'feed' : 'content'; if (id) { nativeNavigate({ pathname: `/${type === 'content' ? 'ac' : 'af'}/${id}`,