Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyjth committed Apr 17, 2024
1 parent cbdf4ce commit afbba7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-shared/providers/NavigationProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit afbba7f

Please sign in to comment.