-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: const / import refactor for Transactions (#961)
- Loading branch information
Showing
7 changed files
with
56 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@coinbase/onchainkit": patch | ||
--- | ||
|
||
-**chore**: Organize const variables and update imports for the Transaction component. By @cpcramer #961 |
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,3 +1,10 @@ | ||
export const SEND_CALLS_NOT_SUPPORTED_ERROR = 'SEND_CALLS_NOT_SUPPORTED_ERROR'; | ||
export const WRITE_CONTRACT_ERROR_CODE = 'WRITE_CONTRACT_ERROR'; | ||
export const WRITE_CONTRACTS_ERROR_CODE = 'WRITE_CONTRACTS_ERROR'; | ||
export const GENERIC_ERROR_MESSAGE = 'Something went wrong. Please try again.'; | ||
export const METHOD_NOT_SUPPORTED_ERROR_SUBSTRING = | ||
'this request method is not supported'; // most likely EOA | ||
'this request method is not supported'; // most likely EOAexport const genericErrorMessage = 'Something went wrong. Please try again.'; | ||
export const SEND_CALLS_NOT_SUPPORTED_ERROR = 'SEND_CALLS_NOT_SUPPORTED_ERROR'; | ||
export const UNCAUGHT_WRITE_CONTRACT_ERROR_CODE = | ||
'UNCAUGHT_WRITE_CONTRACT_ERROR'; | ||
export const UNCAUGHT_WRITE_CONTRACTS_ERROR_CODE = | ||
'UNCAUGHT_WRITE_WRITE_CONTRACTS_ERROR'; |
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
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