From afbba7f67aae5d7b23dee90e2b942d174234ffb1 Mon Sep 17 00:00:00 2001 From: Vincent Wilson Date: Wed, 17 Apr 2024 16:27:31 -0400 Subject: [PATCH] tweaks --- packages/web-shared/providers/NavigationProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`,