Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/solid-auth-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { version } = require('../package.json')
// helpers

function ns(fn) {
return function(...args) {
return function (...args) {
fn('[solid-auth-client]', ...args)
}
}
Expand Down
2 changes: 1 addition & 1 deletion demo/components/AuthButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const popupUri = process.env.POPUP_URI
export default class AuthButtons extends React.Component<Object, Object> {
constructor(props: {}) {
super(props)
auth.trackSession(session => this.setState({ loggedIn: !!session }))
auth.trackSession((session) => this.setState({ loggedIn: !!session }))
}

logout() {
Expand Down
2 changes: 1 addition & 1 deletion demo/components/Copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import auth from '../../src/'

export default class Copy extends React.Component<Object, Object> {
componentWillMount() {
auth.trackSession(session =>
auth.trackSession((session) =>
this.setState({ webId: session && session.webId })
)
}
Expand Down
2 changes: 1 addition & 1 deletion demo/components/PersonalInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import auth from '../../src/'

export default class PersonalInfo extends React.Component<Object, Object> {
componentWillMount() {
auth.trackSession(session =>
auth.trackSession((session) =>
this.setState({ webId: session && session.webId })
)
}
Expand Down
Loading