mirror of
https://github.com/ascribe/onion.git
synced 2025-01-05 11:25:09 +01:00
Unify code to single quotes
This commit is contained in:
parent
d8e2d0e216
commit
d6b7060f39
28
js/routes.js
28
js/routes.js
@ -31,35 +31,35 @@ import AuthProxyHandler from './components/ascribe_routes/proxy_routes/auth_prox
|
|||||||
let COMMON_ROUTES = (
|
let COMMON_ROUTES = (
|
||||||
<Route path='/' component={App}>
|
<Route path='/' component={App}>
|
||||||
<Route
|
<Route
|
||||||
path="login"
|
path='login'
|
||||||
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(LoginContainer)} />
|
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(LoginContainer)} />
|
||||||
<Route
|
<Route
|
||||||
path="register_piece"
|
path='register_piece'
|
||||||
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(RegisterPiece)}
|
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(RegisterPiece)}
|
||||||
headerTitle="+ NEW WORK"/>
|
headerTitle='+ NEW WORK'/>
|
||||||
<Route
|
<Route
|
||||||
path="collection"
|
path='collection'
|
||||||
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(PieceList)}
|
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(PieceList)}
|
||||||
headerTitle="COLLECTION"/>
|
headerTitle='COLLECTION'/>
|
||||||
<Route
|
<Route
|
||||||
path="signup"
|
path='signup'
|
||||||
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(SignupContainer)} />
|
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(SignupContainer)} />
|
||||||
<Route
|
<Route
|
||||||
path="logout"
|
path='logout'
|
||||||
component={AuthProxyHandler({to: '/', when: 'loggedOut'})(LogoutContainer)}/>
|
component={AuthProxyHandler({to: '/', when: 'loggedOut'})(LogoutContainer)}/>
|
||||||
<Route path="pieces/:pieceId" component={PieceContainer} />
|
<Route path='pieces/:pieceId' component={PieceContainer} />
|
||||||
<Route path="editions/:editionId" component={EditionContainer} />
|
<Route path='editions/:editionId' component={EditionContainer} />
|
||||||
<Route
|
<Route
|
||||||
path="password_reset"
|
path='password_reset'
|
||||||
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(PasswordResetContainer)} />
|
component={AuthProxyHandler({to: '/collection', when: 'loggedIn'})(PasswordResetContainer)} />
|
||||||
<Route
|
<Route
|
||||||
path="settings"
|
path='settings'
|
||||||
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(SettingsContainer)}/>
|
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(SettingsContainer)}/>
|
||||||
<Route
|
<Route
|
||||||
path="contract_settings"
|
path='contract_settings'
|
||||||
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(ContractSettings)}/>
|
component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(ContractSettings)}/>
|
||||||
<Route path="coa_verify" component={CoaVerifyContainer} />
|
<Route path='coa_verify' component={CoaVerifyContainer} />
|
||||||
<Route path="*" component={ErrorNotFoundPage} />
|
<Route path='*' component={ErrorNotFoundPage} />
|
||||||
</Route>
|
</Route>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user