Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhu committed Nov 16, 2020
1 parent 746d624 commit 7ecf4ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/loaders/src/elements/Dots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const Dots: React.FC<IDotsProps> = ({ size, color, duration, delayMS, ...other }

if (environment && canTransformSVG.current === null) {
const svg = environment.createElementNS('http://www.w3.org/2000/svg', 'svg');

canTransformSVG.current = 'transform' in svg;
}

Expand Down

0 comments on commit 7ecf4ab

Please sign in to comment.