未验证 提交 68384c13 编写于 作者: C Chanh Ly 提交者: GitHub

Update AuthorizedRoute.tsx (#6563)

typo AuthorizedRoutePops -> AuthorizedRouteProps
上级 4fc4e517
......@@ -4,7 +4,7 @@ import React from 'react';
import Authorized from './Authorized';
import { IAuthorityType } from './CheckPermissions';
interface AuthorizedRoutePops {
interface AuthorizedRouteProps {
currentAuthority: string;
component: React.ComponentClass<any, any>;
render: (props: any) => React.ReactNode;
......@@ -12,7 +12,7 @@ interface AuthorizedRoutePops {
authority: IAuthorityType;
}
const AuthorizedRoute: React.SFC<AuthorizedRoutePops> = ({
const AuthorizedRoute: React.SFC<AuthorizedRouteProps> = ({
component: Component,
render,
authority,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册