diff --git a/ui/src/common/DefaultPage.tsx b/ui/src/common/DefaultPage.tsx index f9586f1..75cf683 100644 --- a/ui/src/common/DefaultPage.tsx +++ b/ui/src/common/DefaultPage.tsx @@ -1,6 +1,6 @@ import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; -import React, {SFC} from 'react'; +import React, {FC} from 'react'; interface IProps { title: string; @@ -8,7 +8,7 @@ interface IProps { maxWidth?: number; } -const DefaultPage: SFC = ({title, rightControl, maxWidth = 700, children}) => ( +const DefaultPage: FC = ({title, rightControl, maxWidth = 700, children}) => (