-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from push-protocol/SIMULATE-16-Retry-logic-for…
…-Connect-Push-Wallet-Button Fixed the retry logic for ConnectPushWallet Button
- Loading branch information
Showing
4 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { ConnectionStatus } from "./wallet.types"; | ||
import { ConnectionStatus } from './wallet.types'; | ||
|
||
export const walletConnectionButtonStatusMapper: Record<ConnectionStatus, string> = { | ||
notConnected: "Connect to Push Wallet", | ||
connecting: "Connecting to Push Wallet", | ||
authenticating: "Authenticating Push Wallet", | ||
connected: "Connected to Push Wallet", | ||
} | ||
export const walletConnectionButtonStatusMapper: Record< | ||
ConnectionStatus, | ||
string | ||
> = { | ||
notConnected: 'Connect to Push Wallet', | ||
connecting: 'Connecting to Push Wallet', | ||
authenticating: 'Authenticating Push Wallet', | ||
connected: 'Connected to Push Wallet', | ||
retry: 'Retry Connecting to Push Wallet', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters