diff --git a/packages/casl-react/src/factory.ts b/packages/casl-react/src/factory.ts index 17250f41b..0a62d1cdc 100644 --- a/packages/casl-react/src/factory.ts +++ b/packages/casl-react/src/factory.ts @@ -1,6 +1,6 @@ +import { createElement as h, ComponentClass, Consumer, FunctionComponent } from 'react'; import { AnyAbility } from '@casl/ability'; -import { ComponentClass, Consumer, FunctionComponent, createElement as h } from 'react'; -import { BoundCanProps, Can } from './Can'; +import { Can, BoundCanProps } from './Can'; interface BoundCanClass extends ComponentClass> { new (props: BoundCanProps, context?: any): Can