Skip to content

Commit d78fa5c

Browse files
committed
Whitespace tweaks
1 parent e282fb1 commit d78fa5c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

website/examples/Auth.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import Router from 'react-router/BrowserRouter'
77

88
////////////////////////////////////////////////////////////
99
// 1. Click the public page
10-
// 2. Click the protected page<
10+
// 2. Click the protected page
1111
// 3. Log in
12-
// 4. Click the back button, note the url each time
12+
// 4. Click the back button, note the URL each time
1313

1414
////////////////////////////////////////////////////////////
1515
const fakeAuth = {
@@ -70,15 +70,12 @@ const MatchWhenAuthorized = ({ component: Component, ...rest }) => (
7070
)}/>
7171
)
7272

73-
7473
////////////////////////////////////////////////////////////
7574
const Protected = () => <h3>Protected</h3>
7675
const Public = () => <h3>Public</h3>
7776

78-
7977
////////////////////////////////////////////////////////////
8078
class Login extends React.Component {
81-
8279
state = {
8380
redirectToReferrer: false
8481
}
@@ -110,6 +107,4 @@ class Login extends React.Component {
110107
}
111108
}
112109

113-
114-
115110
export default AuthExample

0 commit comments

Comments
 (0)