Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
69f1b453
Commit
69f1b453
authored
Jul 18, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transfer to absolute paths for modules
parent
3115c18f
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
59 additions
and
55 deletions
+59
-55
_app.tsx
pages/_app.tsx
+1
-1
_document.tsx
pages/_document.tsx
+1
-1
api-keys.tsx
pages/api-keys.tsx
+1
-1
index.tsx
pages/index.tsx
+1
-1
private-tags.tsx
pages/private-tags.tsx
+1
-1
watchlist.tsx
pages/watchlist.tsx
+1
-1
tsconfig.json
tsconfig.json
+5
-1
ApiKeyForm.tsx
ui/apiKey/ApiKeyModal/ApiKeyForm.tsx
+1
-1
ApiKeyModal.tsx
ui/apiKey/ApiKeyModal/ApiKeyModal.tsx
+1
-1
ApiKeyTable.tsx
ui/apiKey/ApiKeyTable/ApiKeyTable.tsx
+1
-1
ApiKeyTableItem.tsx
ui/apiKey/ApiKeyTable/ApiKeyTableItem.tsx
+1
-1
AccountNavigation.tsx
ui/navigation/AccountNavigation.tsx
+5
-5
MainNavigation.tsx
ui/navigation/MainNavigation.tsx
+5
-5
NavFooter.tsx
ui/navigation/NavFooter.tsx
+4
-4
Navigation.tsx
ui/navigation/Navigation.tsx
+2
-2
ApiKeys.tsx
ui/pages/ApiKeys.tsx
+3
-3
Watchlist.tsx
ui/pages/Watchlist.tsx
+2
-2
AddressForm.tsx
ui/privateTags/AddressModal/AddressForm.tsx
+1
-1
AddressModal.tsx
ui/privateTags/AddressModal/AddressModal.tsx
+1
-1
AddressTagTable.tsx
ui/privateTags/AddressTagTable/AddressTagTable.tsx
+1
-1
AddressTagTableItem.tsx
ui/privateTags/AddressTagTable/AddressTagTableItem.tsx
+1
-1
PrivateAddressTags.tsx
ui/privateTags/PrivateAddressTags.tsx
+2
-2
PrivateTransactionTags.tsx
ui/privateTags/PrivateTransactionTags.tsx
+2
-2
TransactionForm.tsx
ui/privateTags/TransactionModal/TransactionForm.tsx
+1
-1
TransactionModal.tsx
ui/privateTags/TransactionModal/TransactionModal.tsx
+1
-1
TransactionTagTable.tsx
ui/privateTags/TransactionTagTable/TransactionTagTable.tsx
+1
-1
TransactionTagTableItem.tsx
...ivateTags/TransactionTagTable/TransactionTagTableItem.tsx
+1
-1
CopyToClipboard.tsx
ui/shared/CopyToClipboard.tsx
+1
-1
DeleteButton.tsx
ui/shared/DeleteButton.tsx
+1
-1
EditButton.tsx
ui/shared/EditButton.tsx
+1
-1
AddressForm.tsx
ui/watchlist/AddressModal/AddressForm.tsx
+1
-1
AddressModal.tsx
ui/watchlist/AddressModal/AddressModal.tsx
+1
-1
WatchListAddressItem.tsx
ui/watchlist/WatchlistTable/WatchListAddressItem.tsx
+4
-4
WatchListTableItem.tsx
ui/watchlist/WatchlistTable/WatchListTableItem.tsx
+1
-1
WatchlistTable.tsx
ui/watchlist/WatchlistTable/WatchlistTable.tsx
+1
-1
No files found.
pages/_app.tsx
View file @
69f1b453
import
React
from
'
react
'
;
import
type
{
AppProps
}
from
'
next/app
'
;
import
{
ChakraProvider
}
from
'
@chakra-ui/react
'
;
import
theme
from
'
../theme/index
'
;
import
theme
from
'
theme
'
;
function
MyApp
({
Component
,
pageProps
}:
AppProps
)
{
return
(
...
...
pages/_document.tsx
View file @
69f1b453
import
React
from
'
react
'
;
import
Document
,
{
Html
,
Head
,
Main
,
NextScript
}
from
'
next/document
'
import
{
ColorModeScript
}
from
'
@chakra-ui/react
'
;
import
theme
from
'
../
theme
'
import
theme
from
'
theme
'
class
MyDocument
extends
Document
{
render
()
{
...
...
pages/api-keys.tsx
View file @
69f1b453
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
type
{
NextPage
}
from
'
next
'
;
import
Head
from
'
next/head
'
import
ApiKeys
from
'
../
ui/pages/ApiKeys
'
;
import
ApiKeys
from
'
ui/pages/ApiKeys
'
;
const
ApiKeysPage
:
NextPage
=
()
=>
{
return
(
...
...
pages/index.tsx
View file @
69f1b453
import
React
from
'
react
'
;
import
type
{
NextPage
}
from
'
next
'
;
import
{
Center
}
from
'
@chakra-ui/react
'
;
import
Page
from
'
../
ui/Page/Page
'
;
import
Page
from
'
ui/Page/Page
'
;
const
Home
:
NextPage
=
()
=>
{
return
(
...
...
pages/private-tags.tsx
View file @
69f1b453
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
type
{
NextPage
}
from
'
next
'
;
import
Head
from
'
next/head
'
import
PrivateTags
from
'
../
ui/pages/PrivateTags
'
;
import
PrivateTags
from
'
ui/pages/PrivateTags
'
;
const
PrivateTagsPage
:
NextPage
=
()
=>
{
return
(
...
...
pages/watchlist.tsx
View file @
69f1b453
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
type
{
NextPage
}
from
'
next
'
;
import
Head
from
'
next/head
'
import
WatchList
from
'
../
ui/pages/Watchlist
'
;
import
WatchList
from
'
ui/pages/Watchlist
'
;
const
WatchListPage
:
NextPage
=
()
=>
{
return
(
...
...
tsconfig.json
View file @
69f1b453
...
...
@@ -13,7 +13,11 @@
"resolveJsonModule"
:
true
,
"isolatedModules"
:
true
,
"jsx"
:
"preserve"
,
"incremental"
:
true
"incremental"
:
true
,
"baseUrl"
:
"."
,
"paths"
:
{
"~/*"
:
[
"./*"
]
}
},
"include"
:
[
"next-env.d.ts"
,
"**/*.ts"
,
"**/*.tsx"
,
"additional.d.ts"
,
"decs.d.ts"
],
"exclude"
:
[
"node_modules"
]
...
...
ui/apiKey/ApiKeyModal/ApiKeyForm.tsx
View file @
69f1b453
...
...
@@ -10,7 +10,7 @@ import {
Input
,
}
from
'
@chakra-ui/react
'
;
import
type
{
TApiKeyItem
}
from
'
../../../
data/apiKey
'
;
import
type
{
TApiKeyItem
}
from
'
data/apiKey
'
;
type
Props
=
{
data
?:
TApiKeyItem
;
...
...
ui/apiKey/ApiKeyModal/ApiKeyModal.tsx
View file @
69f1b453
import
React
,
{
useCallback
}
from
'
react
'
;
import
type
{
TApiKeyItem
}
from
'
../../../
data/apiKey
'
;
import
type
{
TApiKeyItem
}
from
'
data/apiKey
'
;
import
ApiKeyForm
from
'
./ApiKeyForm
'
;
import
FormModal
from
'
../../shared/FormModal
'
;
...
...
ui/apiKey/ApiKeyTable/ApiKeyTable.tsx
View file @
69f1b453
...
...
@@ -9,7 +9,7 @@ import {
TableContainer
,
}
from
'
@chakra-ui/react
'
import
type
{
TApiKey
,
TApiKeyItem
}
from
'
../../../
data/apiKey
'
;
import
type
{
TApiKey
,
TApiKeyItem
}
from
'
data/apiKey
'
;
import
ApiKeyTableItem
from
'
./ApiKeyTableItem
'
;
...
...
ui/apiKey/ApiKeyTable/ApiKeyTableItem.tsx
View file @
69f1b453
...
...
@@ -11,7 +11,7 @@ import {
import
EditButton
from
'
../../shared/EditButton
'
;
import
DeleteButton
from
'
../../shared/DeleteButton
'
;
import
type
{
TApiKeyItem
}
from
'
../../../
data/apiKey
'
;
import
type
{
TApiKeyItem
}
from
'
data/apiKey
'
;
import
CopyToClipboard
from
'
../../shared/CopyToClipboard
'
;
interface
Props
{
...
...
ui/navigation/AccountNavigation.tsx
View file @
69f1b453
import
React
from
'
react
'
;
import
{
Box
,
VStack
}
from
'
@chakra-ui/react
'
;
import
AccountNavLink
from
'
./AccountNavLink
'
;
import
WatchlistIcon
from
'
../../
icons/watchlist.svg
'
import
PrivateTagIcon
from
'
../../
icons/privattags.svg
'
import
PublicTagIcon
from
'
../../
icons/publictags.svg
'
import
ApiKeysIcon
from
'
../../
icons/API.svg
'
;
import
ABIIcon
from
'
../../
icons/ABI.svg
'
;
import
WatchlistIcon
from
'
icons/watchlist.svg
'
import
PrivateTagIcon
from
'
icons/privattags.svg
'
import
PublicTagIcon
from
'
icons/publictags.svg
'
import
ApiKeysIcon
from
'
icons/API.svg
'
;
import
ABIIcon
from
'
icons/ABI.svg
'
;
const
navItems
=
[
{
text
:
'
Watchlist
'
,
pathname
:
'
/watchlist
'
,
icon
:
WatchlistIcon
},
...
...
ui/navigation/MainNavigation.tsx
View file @
69f1b453
import
React
from
'
react
'
;
import
{
Box
,
VStack
}
from
'
@chakra-ui/react
'
;
import
MainNavLink
from
'
./MainNavLink
'
;
import
BlocksIcon
from
'
../../
icons/block.svg
'
import
TransactionsIcon
from
'
../../
icons/transactions.svg
'
import
TokensIcon
from
'
../../
icons/token.svg
'
import
AppsIcon
from
'
../../
icons/apps.svg
'
;
import
BlockscoutIcon
from
'
../../
icons/blockscout.svg
'
;
import
BlocksIcon
from
'
icons/block.svg
'
import
TransactionsIcon
from
'
icons/transactions.svg
'
import
TokensIcon
from
'
icons/token.svg
'
import
AppsIcon
from
'
icons/apps.svg
'
;
import
BlockscoutIcon
from
'
icons/blockscout.svg
'
;
const
navItems
=
[
{
text
:
'
Blocks
'
,
pathname
:
'
/blocks
'
,
icon
:
BlocksIcon
},
...
...
ui/navigation/NavFooter.tsx
View file @
69f1b453
...
...
@@ -2,10 +2,10 @@ import React from 'react';
import
{
VStack
,
Text
,
HStack
,
Icon
,
Link
,
useColorModeValue
}
from
'
@chakra-ui/react
'
;
import
ghIcon
from
'
../../
icons/social/git.svg
'
;
import
twIcon
from
'
../../
icons/social/tweet.svg
'
;
import
tgIcon
from
'
../../
icons/social/telega.svg
'
;
import
statsIcon
from
'
../../
icons/social/stats.svg
'
;
import
ghIcon
from
'
icons/social/git.svg
'
;
import
twIcon
from
'
icons/social/tweet.svg
'
;
import
tgIcon
from
'
icons/social/telega.svg
'
;
import
statsIcon
from
'
icons/social/stats.svg
'
;
const
SOCIAL_LINKS
=
[
{
link
:
'
#gh
'
,
icon
:
ghIcon
},
...
...
ui/navigation/Navigation.tsx
View file @
69f1b453
...
...
@@ -5,8 +5,8 @@ import AccountNavigation from './AccountNavigation';
import
MainNavigation
from
'
./MainNavigation
'
;
import
NavFooter
from
'
./NavFooter
'
import
logoIcon
from
'
../../
icons/logo.svg
'
;
import
networksIcon
from
'
../../
icons/networks.svg
'
;
import
logoIcon
from
'
icons/logo.svg
'
;
import
networksIcon
from
'
icons/networks.svg
'
;
const
Navigation
=
()
=>
{
return
(
...
...
ui/pages/ApiKeys.tsx
View file @
69f1b453
...
...
@@ -8,10 +8,10 @@ import ApiKeyTable from '../apiKey/ApiKeyTable/ApiKeyTable';
import
ApiKeyModal
from
'
../apiKey/ApiKeyModal/ApiKeyModal
'
;
import
DeleteApiKeyModal
from
'
../apiKey/DeleteApiKeyModal
'
;
import
type
{
TApiKeyItem
}
from
'
../../
data/apiKey
'
;
import
{
apiKey
}
from
'
../../
data/apiKey
'
;
import
type
{
TApiKeyItem
}
from
'
data/apiKey
'
;
import
{
apiKey
}
from
'
data/apiKey
'
;
import
{
space
}
from
'
../../
lib/html-entities
'
;
import
{
space
}
from
'
lib/html-entities
'
;
const
DATA_LIMIT
=
3
;
...
...
ui/pages/Watchlist.tsx
View file @
69f1b453
...
...
@@ -7,8 +7,8 @@ import Page from '../Page/Page';
import
WatchlistTable
from
'
../watchlist/WatchlistTable/WatchlistTable
'
;
import
AddressModal
from
'
../watchlist/AddressModal/AddressModal
'
;
import
type
{
TWatchlistItem
}
from
'
../../
data/watchlist
'
;
import
{
watchlist
}
from
'
../../
data/watchlist
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
import
{
watchlist
}
from
'
data/watchlist
'
;
import
DeleteAddressModal
from
'
../watchlist/DeleteAddressModal
'
;
const
WatchList
:
React
.
FC
=
()
=>
{
...
...
ui/privateTags/AddressModal/AddressForm.tsx
View file @
69f1b453
...
...
@@ -10,7 +10,7 @@ import {
import
AddressInput
from
'
../../shared/AddressInput
'
;
import
TagInput
from
'
../../shared/TagInput
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
../../../
data/privateTagsAddress
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
data/privateTagsAddress
'
;
const
ADDRESS_LENGTH
=
42
;
const
TAG_MAX_LENGTH
=
35
;
...
...
ui/privateTags/AddressModal/AddressModal.tsx
View file @
69f1b453
import
React
,
{
useCallback
}
from
'
react
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
../../../
data/privateTagsAddress
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
data/privateTagsAddress
'
;
import
AddressForm
from
'
./AddressForm
'
;
import
FormModal
from
'
../../shared/FormModal
'
;
...
...
ui/privateTags/AddressTagTable/AddressTagTable.tsx
View file @
69f1b453
...
...
@@ -9,7 +9,7 @@ import {
TableContainer
,
}
from
'
@chakra-ui/react
'
import
type
{
TPrivateTagsAddress
,
TPrivateTagsAddressItem
}
from
'
../../../
data/privateTagsAddress
'
;
import
type
{
TPrivateTagsAddress
,
TPrivateTagsAddressItem
}
from
'
data/privateTagsAddress
'
;
import
AddressTagTableItem
from
'
./AddressTagTableItem
'
;
...
...
ui/privateTags/AddressTagTable/AddressTagTableItem.tsx
View file @
69f1b453
...
...
@@ -11,7 +11,7 @@ import {
import
AddressIcon
from
'
../../shared/AddressIcon
'
;
import
AddressLinkWithTooltip
from
'
../../shared/AddressLinkWithTooltip
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
../../../
data/privateTagsAddress
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
data/privateTagsAddress
'
;
import
EditButton
from
'
../../shared/EditButton
'
;
import
DeleteButton
from
'
../../shared/DeleteButton
'
;
...
...
ui/privateTags/PrivateAddressTags.tsx
View file @
69f1b453
...
...
@@ -5,8 +5,8 @@ import { Box, Button, Text, useDisclosure } from '@chakra-ui/react';
import
AddressTagTable
from
'
./AddressTagTable/AddressTagTable
'
;
import
AddressModal
from
'
./AddressModal/AddressModal
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
./../../
data/privateTagsAddress
'
;
import
{
privateTagsAddress
}
from
'
./../../
data/privateTagsAddress
'
;
import
type
{
TPrivateTagsAddressItem
}
from
'
data/privateTagsAddress
'
;
import
{
privateTagsAddress
}
from
'
data/privateTagsAddress
'
;
import
DeletePrivateTagModal
from
'
./DeletePrivateTagModal
'
;
const
PrivateAddressTags
:
React
.
FC
=
()
=>
{
...
...
ui/privateTags/PrivateTransactionTags.tsx
View file @
69f1b453
...
...
@@ -5,8 +5,8 @@ import { Box, Button, Text, useDisclosure } from '@chakra-ui/react';
import
TransactionTagTable
from
'
./TransactionTagTable/TransactionTagTable
'
;
import
TransactionModal
from
'
./TransactionModal/TransactionModal
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
./../../
data/privateTagsTransaction
'
;
import
{
privateTagsTransaction
}
from
'
./../../
data/privateTagsTransaction
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
data/privateTagsTransaction
'
;
import
{
privateTagsTransaction
}
from
'
data/privateTagsTransaction
'
;
import
DeletePrivateTagModal
from
'
./DeletePrivateTagModal
'
;
const
PrivateTransactionTags
:
React
.
FC
=
()
=>
{
...
...
ui/privateTags/TransactionModal/TransactionForm.tsx
View file @
69f1b453
...
...
@@ -10,7 +10,7 @@ import {
import
TransactionInput
from
'
../../shared/TransactionInput
'
;
import
TagInput
from
'
../../shared/TagInput
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
../../../
data/privateTagsTransaction
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
data/privateTagsTransaction
'
;
const
HASH_LENGTH
=
66
;
const
TAG_MAX_LENGTH
=
35
;
...
...
ui/privateTags/TransactionModal/TransactionModal.tsx
View file @
69f1b453
import
React
,
{
useCallback
}
from
'
react
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
../../../
data/privateTagsTransaction
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
data/privateTagsTransaction
'
;
import
TransactionForm
from
'
./TransactionForm
'
;
import
FormModal
from
'
../../shared/FormModal
'
;
...
...
ui/privateTags/TransactionTagTable/TransactionTagTable.tsx
View file @
69f1b453
...
...
@@ -9,7 +9,7 @@ import {
TableContainer
,
}
from
'
@chakra-ui/react
'
import
type
{
TPrivateTagsTransaction
,
TPrivateTagsTransactionItem
}
from
'
../../../
data/privateTagsTransaction
'
;
import
type
{
TPrivateTagsTransaction
,
TPrivateTagsTransactionItem
}
from
'
data/privateTagsTransaction
'
;
import
TransactionTagTableItem
from
'
./TransactionTagTableItem
'
;
...
...
ui/privateTags/TransactionTagTable/TransactionTagTableItem.tsx
View file @
69f1b453
...
...
@@ -13,7 +13,7 @@ import DeleteButton from '../../shared/DeleteButton';
import
AddressLinkWithTooltip
from
'
../../shared/AddressLinkWithTooltip
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
../../../
data/privateTagsTransaction
'
;
import
type
{
TPrivateTagsTransactionItem
}
from
'
data/privateTagsTransaction
'
;
interface
Props
{
item
:
TPrivateTagsTransactionItem
;
...
...
ui/shared/CopyToClipboard.tsx
View file @
69f1b453
import
React
,
{
useEffect
,
useState
}
from
'
react
'
;
import
{
IconButton
,
Tooltip
,
useClipboard
}
from
'
@chakra-ui/react
'
;
import
CopyIcon
from
'
../../
icons/copy.svg
'
;
import
CopyIcon
from
'
icons/copy.svg
'
;
const
CopyToClipboard
=
({
text
}:
{
text
:
string
})
=>
{
const
{
hasCopied
,
onCopy
}
=
useClipboard
(
text
,
3000
);
...
...
ui/shared/DeleteButton.tsx
View file @
69f1b453
...
...
@@ -2,7 +2,7 @@ import React, { useCallback } from 'react';
import
{
Tooltip
,
IconButton
,
Icon
}
from
'
@chakra-ui/react
'
;
import
DeleteIcon
from
'
../../
icons/delete.svg
'
;
import
DeleteIcon
from
'
icons/delete.svg
'
;
type
Props
=
{
onClick
:
()
=>
void
;
...
...
ui/shared/EditButton.tsx
View file @
69f1b453
...
...
@@ -2,7 +2,7 @@ import React, { useCallback } from 'react';
import
{
Tooltip
,
IconButton
,
Icon
}
from
'
@chakra-ui/react
'
;
import
EditIcon
from
'
../../
icons/edit.svg
'
;
import
EditIcon
from
'
icons/edit.svg
'
;
type
Props
=
{
onClick
:
()
=>
void
;
...
...
ui/watchlist/AddressModal/AddressForm.tsx
View file @
69f1b453
...
...
@@ -14,7 +14,7 @@ import {
import
AddressInput
from
'
../../shared/AddressInput
'
;
import
TagInput
from
'
../../shared/TagInput
'
;
import
type
{
TWatchlistItem
}
from
'
../../../
data/watchlist
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
const
NOTIFICATIONS
=
[
'
xDAI
'
,
'
ERC-20
'
,
'
ERC-721, ERC-1155 (NFT)
'
];
const
ADDRESS_LENGTH
=
42
;
...
...
ui/watchlist/AddressModal/AddressModal.tsx
View file @
69f1b453
import
React
,
{
useCallback
}
from
'
react
'
;
import
type
{
TWatchlistItem
}
from
'
../../../
data/watchlist
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
import
AddressForm
from
'
./AddressForm
'
;
import
FormModal
from
'
../../shared/FormModal
'
;
...
...
ui/watchlist/WatchlistTable/WatchListAddressItem.tsx
View file @
69f1b453
...
...
@@ -4,10 +4,10 @@ import { Link, HStack, VStack, Image, Text, Icon, useColorModeValue } from '@cha
import
AddressIcon
from
'
../../shared/AddressIcon
'
;
import
AddressLinkWithTooltip
from
'
../../shared/AddressLinkWithTooltip
'
;
import
type
{
TWatchlistItem
}
from
'
../../../
data/watchlist
'
;
import
{
nbsp
}
from
'
../../../
lib/html-entities
'
;
import
TokensIcon
from
'
../../../
icons/tokens.svg
'
;
import
WalletIcon
from
'
../../../
icons/wallet.svg
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
import
{
nbsp
}
from
'
lib/html-entities
'
;
import
TokensIcon
from
'
icons/tokens.svg
'
;
import
WalletIcon
from
'
icons/wallet.svg
'
;
const
WatchListAddressItem
=
({
item
}:
{
item
:
TWatchlistItem
})
=>
{
const
mainTextColor
=
useColorModeValue
(
'
gray.700
'
,
'
gray.50
'
);
...
...
ui/watchlist/WatchlistTable/WatchListTableItem.tsx
View file @
69f1b453
...
...
@@ -12,7 +12,7 @@ import {
import
EditButton
from
'
../../shared/EditButton
'
;
import
DeleteButton
from
'
../../shared/DeleteButton
'
;
import
type
{
TWatchlistItem
}
from
'
../../../
data/watchlist
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
import
WatchListAddressItem
from
'
./WatchListAddressItem
'
;
...
...
ui/watchlist/WatchlistTable/WatchlistTable.tsx
View file @
69f1b453
...
...
@@ -9,7 +9,7 @@ import {
TableContainer
,
}
from
'
@chakra-ui/react
'
import
type
{
TWatchlist
,
TWatchlistItem
}
from
'
../../../
data/watchlist
'
;
import
type
{
TWatchlist
,
TWatchlistItem
}
from
'
data/watchlist
'
;
import
WatchlistTableItem
from
'
./WatchListTableItem
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment