Skip to content

Commit

Permalink
feat: fix binding after registration causes the page to crash (casdoo…
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxi0410 authored Aug 1, 2022
1 parent afa9c53 commit 13404d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/auth/PromptPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class PromptPage extends React.Component {
<div>
{
(application === null || this.state.user === null) ? null : (
application?.providers.filter(providerItem => Setting.isProviderPrompted(providerItem)).map((providerItem, index) => <OAuthWidget key={providerItem.name} labelSpan={6} user={this.state.user} application={application} providerItem={providerItem} onUnlinked={() => {return this.unlinked();}} />)
application?.providers.filter(providerItem => Setting.isProviderPrompted(providerItem)).map((providerItem, index) => <OAuthWidget key={providerItem.name} labelSpan={6} user={this.state.user} application={application} providerItem={providerItem} account={this.props.account} onUnlinked={() => {return this.unlinked();}} />)
)
}
</div>
Expand Down

0 comments on commit 13404d6

Please sign in to comment.