Skip to content

Commit

Permalink
incorporate suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chakravarthy7102 committed Sep 28, 2023
1 parent 881279f commit aaf78f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions lib/build/thirdparty-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions lib/ts/recipe/thirdparty/providers/twitter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Twitter extends Provider {
* Constructor.
*/
constructor(config?: TwitterProviderConfig) {
let id = "twitter";
const id = "twitter";
let name = "X";

const normalisedUseLegacyTwitterLogo = config?.useLegacyTwitterLogo === true;
Expand All @@ -48,10 +48,6 @@ export default class Twitter extends Provider {
name = "Twitter";
}

if (config?.id !== undefined) {
id = config.id;
}

super({
id,
name,
Expand Down

0 comments on commit aaf78f9

Please sign in to comment.