Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
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
LuckySwap
interface
Commits
db9ac38c
Unverified
Commit
db9ac38c
authored
Nov 17, 2022
by
Jack Short
Committed by
GitHub
Nov 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: adding suspicious icons to bag rows (#5298)
parent
f27d1191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
BagRow.tsx
src/nft/components/bag/BagRow.tsx
+4
-2
No files found.
src/nft/components/bag/BagRow.tsx
View file @
db9ac38c
...
@@ -4,6 +4,7 @@ import clsx from 'clsx'
...
@@ -4,6 +4,7 @@ import clsx from 'clsx'
import
{
ButtonEmphasis
,
ButtonSize
,
ThemeButton
}
from
'
components/Button
'
import
{
ButtonEmphasis
,
ButtonSize
,
ThemeButton
}
from
'
components/Button
'
import
{
TimedLoader
}
from
'
nft/components/bag/TimedLoader
'
import
{
TimedLoader
}
from
'
nft/components/bag/TimedLoader
'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Suspicious
}
from
'
nft/components/collection/Card
'
import
{
Column
,
Row
}
from
'
nft/components/Flex
'
import
{
Column
,
Row
}
from
'
nft/components/Flex
'
import
{
import
{
ChevronDownBagIcon
,
ChevronDownBagIcon
,
...
@@ -126,8 +127,9 @@ export const BagRow = ({ asset, usdPrice, removeAsset, showRemove, grayscale, is
...
@@ -126,8 +127,9 @@ export const BagRow = ({ asset, usdPrice, removeAsset, showRemove, grayscale, is
{
noImageAvailable
&&
<
NoContentContainer
/>
}
{
noImageAvailable
&&
<
NoContentContainer
/>
}
</
Box
>
</
Box
>
<
Column
overflow=
"hidden"
width=
"full"
color=
{
grayscale
?
'
textSecondary
'
:
'
textPrimary
'
}
>
<
Column
overflow=
"hidden"
width=
"full"
color=
{
grayscale
?
'
textSecondary
'
:
'
textPrimary
'
}
>
<
Row
overflow=
"hidden"
width=
"full"
justifyContent=
"space-between"
whiteSpace=
"nowrap"
gap=
"16"
>
<
Row
overflow=
"hidden"
width=
"full"
whiteSpace=
"nowrap"
>
<
Box
className=
{
styles
.
assetName
}
>
{
asset
.
name
||
asset
.
tokenId
}
</
Box
>
<
Box
className=
{
styles
.
assetName
}
>
{
asset
.
name
??
`#${asset.tokenId}`
}
</
Box
>
{
asset
.
susFlag
&&
<
Suspicious
/>
}
</
Row
>
</
Row
>
<
Row
overflow=
"hidden"
whiteSpace=
"nowrap"
gap=
"2"
>
<
Row
overflow=
"hidden"
whiteSpace=
"nowrap"
gap=
"2"
>
<
Box
className=
{
styles
.
collectionName
}
>
{
asset
.
collectionName
}
</
Box
>
<
Box
className=
{
styles
.
collectionName
}
>
{
asset
.
collectionName
}
</
Box
>
...
...
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