Skip to content

Commit b45957c

Browse files
committed
Security issues.
1 parent 1e2a2c4 commit b45957c

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const AppStyled = styled.div`
2525
}
2626
`;
2727

28-
const Home = () => (
29-
<div />
30-
);
28+
// const Home = () => (
29+
// <div />
30+
// );
3131

3232
const App = () => (
3333
<AppStyled>

src/components/MouseFollow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
2-
import React, { PureComponent, Fragment } from 'react';
2+
import React, { PureComponent } from 'react';
33
import styled from 'styled-components';
4-
import { Tween, Timeline, SplitWords, SplitLetters, Controls } from 'react-gsap';
4+
import { Tween } from 'react-gsap';
55

66
const MouseFollowStyled = styled.div`
77
@@ -62,7 +62,7 @@ class MouseFollowComponent extends PureComponent {
6262
}
6363

6464
render() {
65-
const { x, y, completed } = this.state;
65+
const { x, y } = this.state;
6666

6767
const colors = ['red', 'yellow', 'green'];
6868

src/components/Svg.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// @flow
2-
import React, { Fragment } from 'react';
2+
import React from 'react';
33
import styled from 'styled-components';
4-
import { Tween, Timeline, SplitWords, SplitLetters, Controls } from 'react-gsap';
4+
import { Tween, Timeline, Controls } from 'react-gsap';
55

66
const SvgStyled = styled.div`
77
88
`;
99

1010
const SvgComponent = () => (
1111
<SvgStyled>
12-
Play with these example on <a href="https://stackblitz.com/edit/react-23bsde" target="_blank">StackBlitz.io</a>
12+
Play with these example on <a href="https://stackblitz.com/edit/react-23bsde" target="_blank" rel="noopener noreferrer">StackBlitz.io</a>
1313

1414
<div className="section">SvgDraw PlugIn</div>
1515

src/components/Timeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const TimelineStyled = styled.div`
99

1010
const TimelineComponent = () => (
1111
<TimelineStyled>
12-
Play with these example on <a href="https://stackblitz.com/edit/react-ambemn" target="_blank">StackBlitz.io</a>
12+
Play with these example on <a href="https://stackblitz.com/edit/react-ambemn" target="_blank" rel="noopener noreferrer">StackBlitz.io</a>
1313

1414
<div className="section">Nested Timeline</div>
1515

src/components/Transition.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
2-
import React, { Fragment } from 'react';
2+
import React from 'react';
33
import styled from 'styled-components';
4-
import { Tween, Timeline, SplitWords, SplitLetters, Controls } from 'react-gsap';
4+
import { Tween, Timeline } from 'react-gsap';
55
import { Transition, TransitionGroup } from 'react-transition-group';
66
import uuid from 'uuid';
77

@@ -73,7 +73,7 @@ class TransitionComponent extends React.Component {
7373

7474
return (
7575
<TransitionStyled>
76-
Play with these example on <a href="https://stackblitz.com/edit/react-v61on3" target="_blank">StackBlitz.io</a>
76+
Play with these example on <a href="https://stackblitz.com/edit/react-v61on3" target="_blank" rel="noopener noreferrer">StackBlitz.io</a>
7777

7878
<div className="section">Mount/Unmount Animation - built with React Transition Group</div>
7979

src/components/Tween.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
2-
import React, { Fragment } from 'react';
2+
import React from 'react';
33
import styled from 'styled-components';
4-
import { Tween, Timeline, SplitWords, SplitLetters, Controls } from 'react-gsap';
4+
import { Tween, SplitWords, SplitLetters, Controls } from 'react-gsap';
55

66
const Square = styled.div`
77
background-color: red;
@@ -16,15 +16,15 @@ const TweenStyled = styled.div`
1616

1717
const TweenComponent = () => (
1818
<TweenStyled>
19-
Play with these examples on <a href="https://stackblitz.com/edit/react-gmmwqj" target="_blank">StackBlitz.io</a>
19+
Play with these examples on <a href="https://stackblitz.com/edit/react-gmmwqj" target="_blank" rel="noopener noreferrer">StackBlitz.io</a>
2020

2121
<div className="section">SplitWords component</div>
2222

2323
<Controls>
2424
<Tween
2525
from={{ x: '300px', rotation: -360 }}
2626
>
27-
<SplitWords><div style={{ display: 'inline-block', fontSize: '40px' }}>This is a Test</div></SplitWords>
27+
<SplitWords><div style={{ display: 'inline-block', fontSize: '40px' }}>This is a Test!</div></SplitWords>
2828
</Tween>
2929
</Controls>
3030

0 commit comments

Comments
 (0)