-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move currencies to common package
- Loading branch information
1 parent
db6173c
commit 4f8375d
Showing
14 changed files
with
21 additions
and
33 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
...e/crypto-currency/constants/currencies.ts → packages/common/src/constants/currencies.ts
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,2 +1,3 @@ | ||
export * from './chain-id'; | ||
export * from './currencies'; | ||
export * from './erc20s'; |
2 changes: 1 addition & 1 deletion
2
...s/react/src/core/crypto-currency/types.ts → packages/common/src/types/currencies.ts
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,4 @@ | ||
export * from './currencies'; | ||
export * from './env'; | ||
export * from './error'; | ||
export * from './transactions'; | ||
|
9 changes: 0 additions & 9 deletions
9
packages/react/src/core/crypto-currency/components/CryptoPrice/CryptoPrice.test.tsx
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/react/src/core/crypto-currency/components/CryptoPrice/CryptoPrice.tsx
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
2 changes: 1 addition & 1 deletion
2
packages/react/src/core/crypto-currency/components/CryptoValue/CryptoValue.tsx
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 was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
packages/react/src/core/crypto-currency/hooks/useCryptoCurrency.ts
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
2 changes: 1 addition & 1 deletion
2
packages/react/src/core/crypto-currency/hooks/useCryptoPrice.ts
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,5 +1,3 @@ | ||
export * from './components'; | ||
export * from './constants'; | ||
export * from './hooks'; | ||
export * from './providers'; | ||
export * from './types'; |
15 changes: 6 additions & 9 deletions
15
packages/react/src/core/crypto-currency/providers/coingecko.tsx
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