Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update Twitter URL to x.com format #2540

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 docs/ENVS.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ This feature is **always enabled**, but you can disable it by passing `none` val
| url | `string` | URL of the app which will be launched in the iframe. | Required | `'https://foo.app/launch'` |
| description | `string` | Displayed only in the modal dialog with additional info about the app. | Required | `'The best app'` |
| site | `string` | Displayed site link | - | `'https://blockscout.com'` |
| twitter | `string` | Displayed twitter link | - | `'https://twitter.com/blockscoutcom'` |
| twitter | `string` | Displayed twitter link | - | `'https://x.com/blockscoutcom'` |
| telegram | `string` | Displayed telegram link | - | `'https://t.me/poa_network'` |
| github | `string` | Displayed github link | - | `'https://github.com/blockscout'` |
| internalWallet | `boolean` | `true` means that the application can automatically connect to the Blockscout wallet. | - | `true` |
Expand Down
2 changes: 1 addition & 1 deletion mocks/account/verifiedAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const TOKEN_INFO_APPLICATION_BASE = {
linkedin: 'https://linkedin.com',
discord: 'https://discord.com',
slack: 'https://slack.com',
twitter: 'https://twitter.com',
twitter: 'https://x.com',
openSea: 'https://opensea.com',
facebook: 'https://facebook.com',
medium: 'https://medium.com',
Expand Down
2 changes: 1 addition & 1 deletion mocks/apps/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const apps = [
url: 'https://goerli.hop.exchange/send?token=ETH&sourceNetwork=ethereum',
github: [ 'https://github.com/hop-protocol/hop', 'https://github.com/hop-protocol/hop-ui' ],
discord: 'https://discord.gg/hopprotocol',
twitter: 'https://twitter.com/HopProtocol',
twitter: 'https://x.com/HopProtocol',
},
{
author: 'Blockscout',
Expand Down
2 changes: 1 addition & 1 deletion mocks/tokens/tokenInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const base: TokenInstance = {
},
{
trait_type: 'eventURL',
value: 'https://twitter.com/lilnounsdao?s=21&t=xAihrtwPd6avwdsQqeMXCw',
value: 'https://x.com/lilnounsdao?s=21&t=xAihrtwPd6avwdsQqeMXCw',
},
{
trait_type: 'p1',
Expand Down
2 changes: 1 addition & 1 deletion types/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type ExcludeUndefined<T> = T extends undefined ? never : T;
export type KeysOfObjectOrNull<T> = keyof ExcludeNull<T>;

/** Combines members of an intersection into a readable type. */
// https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
// https://x.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
export type Evaluate<Type> = { [key in keyof Type]: Type[key] } & unknown;

// Keeps in the object type only those properties that have the provided type (e.g only numbers)
Expand Down