Skip to content

Commit

Permalink
remove unneccessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 4, 2023
1 parent bc12a60 commit 84f4959
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/src/forum/components/ProviderInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default class ProviderInfo extends Component<IProviderInfoAttrs> {
<p className="LinkedAccountsList-item-title">{provider.name()}</p>
<p className="helpText">{app.translator.trans('fof-oauth.forum.user.settings.linked-account.orphaned-account')}</p>
{this.renderDates(provider)}
{/* Any other content for the orphaned state can be added here */}
</div>
);
}
Expand All @@ -32,11 +31,9 @@ export default class ProviderInfo extends Component<IProviderInfoAttrs> {
);
}

// Assuming not linked state means neither orphaned nor linked
return (
<div>
<p className="LinkedAccountsList-item-title">{app.translator.trans(`fof-oauth.forum.providers.${provider.name()}`)}</p>
{/* Any content for the not linked state can be added here */}
</div>
);
}
Expand Down

0 comments on commit 84f4959

Please sign in to comment.