Просмотр исходного кода

ref(ui) Remove an unused context type (#25936)

This component and its children don't use router.
Mark Story 3 лет назад
Родитель
Сommit
18c04925ad

+ 0 - 1
static/app/views/settings/organizationDeveloperSettings/permissionSelection.tsx

@@ -90,7 +90,6 @@ type State = {
 
 export default class PermissionSelection extends Component<Props, State> {
   static contextTypes = {
-    router: PropTypes.object.isRequired,
     form: PropTypes.object,
   };