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
5978d1ec
Unverified
Commit
5978d1ec
authored
Nov 15, 2022
by
vignesh mohankumar
Committed by
GitHub
Nov 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: remove unused CollectionProfile (#5229)
parent
c0638e90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
CollectionProfile.tsx
src/nft/components/details/CollectionProfile.tsx
+0
-35
No files found.
src/nft/components/details/CollectionProfile.tsx
deleted
100644 → 0
View file @
c0638e90
import
{
badge
,
subheadSmall
}
from
'
../../css/common.css
'
import
{
Box
,
BoxProps
}
from
'
../Box
'
import
{
Row
}
from
'
../Flex
'
import
{
VerifiedIcon
}
from
'
../icons
'
export
const
CollectionProfile
=
({
label
,
isVerified
,
name
,
avatarUrl
,
...
props
}:
{
isVerified
?:
boolean
label
:
string
name
?:
string
avatarUrl
?:
string
}
&
BoxProps
)
=>
{
return
(
<
Row
{
...
props
}
>
{
avatarUrl
?
(
<
Box
as=
"img"
src=
{
avatarUrl
}
height=
"36"
width=
"36"
marginRight=
"12"
borderRadius=
"round"
/>
)
:
(
<
Box
role=
"img"
background=
"fallbackGradient"
height=
"36"
width=
"36"
marginRight=
"12"
borderRadius=
"round"
/>
)
}
<
div
>
<
Box
as=
"span"
color=
"textSecondary"
style=
{
{
textTransform
:
'
uppercase
'
}
}
className=
{
badge
}
>
{
label
}
</
Box
>
<
Row
marginTop=
"4"
className=
{
subheadSmall
}
color=
"textPrimary"
>
{
name
}
{
isVerified
&&
<
VerifiedIcon
/>
}
</
Row
>
</
div
>
</
Row
>
)
}
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