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
e42991c0
Unverified
Commit
e42991c0
authored
Nov 17, 2022
by
Jordan Frankfurt
Committed by
GitHub
Nov 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(bag): icon update to remove front handle (#5280)
parent
6eb69971
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
Bag.tsx
src/components/NavBar/Bag.tsx
+1
-1
EmptyContent.tsx
src/nft/components/bag/EmptyContent.tsx
+2
-2
icons.tsx
src/nft/components/icons.tsx
+0
-2
No files found.
src/components/NavBar/Bag.tsx
View file @
e42991c0
...
...
@@ -41,7 +41,7 @@ export const Bag = () => {
return
(
<
NavIcon
isActive=
{
bagExpanded
}
onClick=
{
handleIconClick
}
>
<
BagIcon
viewBox=
"0 0 24 24"
width=
{
24
}
height=
{
24
}
/>
<
BagIcon
viewBox=
"0 0 24 24"
width=
{
24
}
height=
{
24
}
strokeWidth=
"2px"
/>
{
bagHasItems
&&
<
CounterDot
>
{
bagQuantity
>
99
?
<
HundredsOverflowIcon
/>
:
bagQuantity
}
</
CounterDot
>
}
</
NavIcon
>
)
...
...
src/nft/components/bag/EmptyContent.tsx
View file @
e42991c0
import
{
useIsNftProfilePage
}
from
'
hooks/useIsNftPage
'
import
{
Center
,
Column
}
from
'
nft/components/Flex
'
import
{
Large
BagIcon
,
LargeTagIcon
}
from
'
nft/components/icons
'
import
{
BagIcon
,
LargeTagIcon
}
from
'
nft/components/icons
'
import
{
subhead
}
from
'
nft/css/common.css
'
import
{
themeVars
}
from
'
nft/css/sprinkles.css
'
import
styled
from
'
styled-components/macro
'
...
...
@@ -22,7 +22,7 @@ const EmptyState = () => {
{
isProfilePage
?
(
<
LargeTagIcon
color=
{
themeVars
.
colors
.
textTertiary
}
/>
)
:
(
<
LargeBagIcon
color=
{
themeVars
.
colors
.
textTertiary
}
/>
<
BagIcon
color=
{
themeVars
.
colors
.
textTertiary
}
height=
"96px"
width=
"96px"
strokeWidth=
"1px"
/>
)
}
</
Center
>
{
isProfilePage
?
(
...
...
src/nft/components/icons.tsx
View file @
e42991c0
...
...
@@ -441,14 +441,12 @@ export const BagIcon = (props: SVGProps) => (
<
path
d=
"M19.2893 5H4.5115C3.34557 5 2.40039 5.89543 2.40039 7V21C2.40039 22.1046 3.34557 23 4.5115 23H19.2893C20.4552 23 21.4004 22.1046 21.4004 21V7C21.4004 5.89543 20.4552 5 19.2893 5Z"
stroke=
"currentColor"
strokeWidth=
"2"
strokeLinecap=
"round"
strokeLinejoin=
"round"
/>
<
path
d=
"M9 5L9 4.25C9 3.45435 9.31607 2.69129 9.87868 2.12868C10.4413 1.56607 11.2044 1.25 12 1.25C12.7957 1.25 13.5587 1.56607 14.1213 2.12868C14.6839 2.69129 15 3.45435 15 4.25L15 5"
stroke=
"currentColor"
strokeWidth=
"2"
strokeLinecap=
"round"
strokeLinejoin=
"round"
/>
...
...
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