Skip to content

Commit

Permalink
route name and tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
olerichter00 committed Feb 13, 2025
1 parent ea9e155 commit 26c1d7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
22 changes: 11 additions & 11 deletions src/app/Navigation/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -667,17 +667,6 @@ export const artsyDotNetRoutes = defineRoutes([
},
},
},
{
path: "/fairs/featured",
name: "Featured Fairs",
Component: FeaturedFairsScreen,
options: {
screenOptions: {
headerShown: false,
},
},
queries: [featuredFairsScreenQuery],
},
{
path: "/fair/:fairID",
name: "Fair",
Expand Down Expand Up @@ -752,6 +741,17 @@ export const artsyDotNetRoutes = defineRoutes([
},
},
},
{
path: "/featured-fairs",
name: "Featured Fairs",
Component: FeaturedFairsScreen,
options: {
screenOptions: {
headerShown: false,
},
},
queries: [featuredFairsScreenQuery],
},
{
path: "/favorites",
name: "Favorites",
Expand Down
4 changes: 1 addition & 3 deletions src/app/Scenes/Fair/FeaturedFairsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export const FeaturedFairs: React.FC<FeaturedFairsProps> = ({ viewer }) => {
return (
<ProvideScreenTrackingWithCohesionSchema
info={screen({
// TODO: Update owner type
// context_screen_owner_type: OwnerType.featuredFairs,
context_screen_owner_type: OwnerType.articles,
context_screen_owner_type: OwnerType.featuredFairs,
})}
>
<Screen>
Expand Down

0 comments on commit 26c1d7d

Please sign in to comment.