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
a9e7c6f5
Unverified
Commit
a9e7c6f5
authored
Mar 10, 2023
by
Vignesh Mohankumar
Committed by
GitHub
Mar 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove deprecated zustand import (#6129)
parent
333c3a28
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
Bag.tsx
src/components/NavBar/Bag.tsx
+1
-1
Bag.tsx
src/nft/components/bag/Bag.tsx
+1
-1
BagFooter.tsx
src/nft/components/bag/BagFooter.tsx
+1
-1
ListPage.tsx
src/nft/components/profile/list/ListPage.tsx
+1
-1
ListingButton.tsx
src/nft/components/profile/list/ListingButton.tsx
+1
-1
ListModal.tsx
src/nft/components/profile/list/Modal/ListModal.tsx
+1
-1
utils.ts
src/nft/components/profile/list/utils.ts
+1
-1
ProfilePage.tsx
src/nft/components/profile/view/ProfilePage.tsx
+1
-1
No files found.
src/components/NavBar/Bag.tsx
View file @
a9e7c6f5
...
...
@@ -4,7 +4,7 @@ import { BagIcon, HundredsOverflowIcon, TagIcon } from 'nft/components/icons'
import
{
useBag
,
useSellAsset
}
from
'
nft/hooks
'
import
{
useCallback
}
from
'
react
'
import
styled
from
'
styled-components/macro
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
const
CounterDot
=
styled
.
div
`
background-color:
${({
theme
})
=>
theme
.
accentAction
}
;
...
...
src/nft/components/bag/Bag.tsx
View file @
a9e7c6f5
...
...
@@ -35,7 +35,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import
{
useQueryClient
}
from
'
react-query
'
import
styled
from
'
styled-components/macro
'
import
{
Z_INDEX
}
from
'
theme/zIndex
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
import
*
as
styles
from
'
./Bag.css
'
import
{
BagContent
}
from
'
./BagContent
'
...
...
src/nft/components/bag/BagFooter.tsx
View file @
a9e7c6f5
...
...
@@ -36,7 +36,7 @@ import { InterfaceTrade, TradeState } from 'state/routing/types'
import
styled
,
{
useTheme
}
from
'
styled-components/macro
'
import
{
ThemedText
}
from
'
theme
'
import
{
switchChain
}
from
'
utils/switchChain
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
const
FooterContainer
=
styled
.
div
`
padding: 0px 12px;
...
...
src/nft/components/profile/list/ListPage.tsx
View file @
a9e7c6f5
...
...
@@ -26,7 +26,7 @@ import { ArrowLeft } from 'react-feather'
import
styled
from
'
styled-components/macro
'
import
{
BREAKPOINTS
,
ThemedText
}
from
'
theme
'
import
{
Z_INDEX
}
from
'
theme/zIndex
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
import
{
ListModal
}
from
'
./Modal/ListModal
'
import
{
NFTListingsGrid
}
from
'
./NFTListingsGrid
'
...
...
src/nft/components/profile/list/ListingButton.tsx
View file @
a9e7c6f5
...
...
@@ -7,7 +7,7 @@ import { Listing, WalletAsset } from 'nft/types'
import
{
useMemo
,
useState
}
from
'
react
'
import
styled
from
'
styled-components/macro
'
import
{
BREAKPOINTS
}
from
'
theme
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
const
BELOW_FLOOR_PRICE_THRESHOLD
=
0.8
...
...
src/nft/components/profile/list/Modal/ListModal.tsx
View file @
a9e7c6f5
...
...
@@ -16,7 +16,7 @@ import { X } from 'react-feather'
import
styled
from
'
styled-components/macro
'
import
{
BREAKPOINTS
,
ThemedText
}
from
'
theme
'
import
{
Z_INDEX
}
from
'
theme/zIndex
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
import
{
TitleRow
}
from
'
../shared
'
import
{
ListModalSection
,
Section
}
from
'
./ListModalSection
'
...
...
src/nft/components/profile/list/utils.ts
View file @
a9e7c6f5
...
...
@@ -7,7 +7,7 @@ import { OPENSEA_CROSS_CHAIN_CONDUIT } from 'nft/queries/openSea'
import
{
CollectionRow
,
ListingMarket
,
ListingRow
,
ListingStatus
,
WalletAsset
}
from
'
nft/types
'
import
{
approveCollection
,
LOOKS_RARE_CREATOR_BASIS_POINTS
,
signListing
}
from
'
nft/utils/listNfts
'
import
{
Dispatch
,
useEffect
}
from
'
react
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
export
async
function
approveCollectionRow
(
collectionRow
:
CollectionRow
,
...
...
src/nft/components/profile/view/ProfilePage.tsx
View file @
a9e7c6f5
...
...
@@ -24,7 +24,7 @@ import InfiniteScroll from 'react-infinite-scroll-component'
import
{
useInfiniteQuery
}
from
'
react-query
'
import
{
easings
,
useSpring
}
from
'
react-spring
'
import
styled
from
'
styled-components/macro
'
import
shallow
from
'
zustand/shallow
'
import
{
shallow
}
from
'
zustand/shallow
'
import
{
EmptyWalletContent
}
from
'
./EmptyWalletContent
'
import
*
as
styles
from
'
./ProfilePage.css
'
...
...
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