You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a936fb0 we introduced a new
withOrgPath prop to the Route component. This caused the route to have
the same behaviour as doing
```tsx
<Framgnet>
{USING_CUSTOMER_DOMAIN && (
<Route
path="/some-path/"
component={withDomainRequired(make(() => import('sentry/views/someView')))}
/>
)}
<Route
path="/organizations/:orgId/some-path/"
component={withDomainRedirect(make(() => import('sentry/views/someView')))}
/>
</Framgnet>
```
However the introduced logic generated the routes in the opposite order,
where the org slug version would get priority.
For some future changes this becomes important so I am bringing back
this matching behaviour
0 commit comments