-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: state of empty cards #171
fix: state of empty cards #171
Conversation
- add onest font in all {content]
- add onest font - add dark/light mode - change text-fonts and color switching light/dark - add new layout like figma
Feat/add fonts
- refactor all imports & remove unused
- add header & icons changing with theme
feat: add swaplace header icons
- add prettier configuration - format code with prettier
feat: add CONTRIBUTING.MD
add empty cards in offer-sumary & nfts-list
feat: add empty-cards
- add initial structure of offers filter
feat: add swap offers filter
- integrate the smart-contract - create-swap - add abi - refactor EmptyNftsCards - add new types to use swap - add expire-date using timestamp & selectedDate
…ion-create-swap feat: add create-swap
- refactor frontend v1 - remove chains ids - adjust the select time - add create swap n-n - adjust design
…p-n-n feat: add create-swap-n-n
- add MockERC721 && MockERC20 ABI - add contract address - add approveSwap encodedFunctionData - update ConfirmSwapModal
…ap-nfts feat: add approve tokens nft
- add getApproved function to know the approved selected tokens
- add validations to approved tokens - refactor variable names
- add CONTRIBUTING.MD - add CODE_OF_CONDUCT.md - add SECURITY.md
…nity feat: add community standards docs
Feat/token offers
feat: hardcoded networks available on the dApp blockful-io#122
…just-tooltip refactor: tooltip adjust
…design-and-search-by-typing Feat/search bar design and search by typing
…ken-manually-atom feat: Add Token Manually Atom/Button
Someone is attempting to deploy a commit to the Shared Blockful's projects Team on Vercel. A member of the Team first needs to authorize it. |
); | ||
}; | ||
fetchApprove(); | ||
}, [nftAuthUser, allSelectedNftsApproved]); |
Check warning
Code scanning / ESLint
verifies the list of dependencies for Hooks like useEffect and similar Warning
} | ||
|
||
export const SwapContext = React.createContext<SwapContextProps>({ | ||
inputAddress: "", | ||
validatedAddressToSwap: "", | ||
validateAddressToSwap: ( | ||
_authedUser: EthereumAddress, | ||
_inputEnsAddress: string | null | undefined | ||
_inputEnsAddress: string | null | undefined, |
Check failure
Code scanning / ESLint
Disallow unused variables Error
@@ -41,6 +56,14 @@ | |||
nftInputUser: [], | |||
destinyChain: SupportedNetworks.SEPOLIA, | |||
setDestinyChain: () => {}, | |||
setTimeDate: () => {}, |
Check failure
Code scanning / ESLint
Disallow empty functions Error
@@ -41,6 +56,14 @@ | |||
nftInputUser: [], | |||
destinyChain: SupportedNetworks.SEPOLIA, | |||
setDestinyChain: () => {}, | |||
setTimeDate: () => {}, | |||
timeDate: BigInt(1), | |||
setAllSelectedNftsAreApproved: () => {}, |
Check failure
Code scanning / ESLint
Disallow empty functions Error
timeDate: BigInt(1), | ||
setAllSelectedNftsAreApproved: () => {}, | ||
allSelectedNftsApproved: false, | ||
setAuthedUserNftsApprovalStatus: () => {}, |
Check failure
Code scanning / ESLint
Disallow empty functions Error
if (currentSwapModalStep === SwapModalSteps.CREATING_SWAP) { | ||
handleSwap(); | ||
} | ||
}, [currentSwapModalStep]); |
Check warning
Code scanning / ESLint
verifies the list of dependencies for Hooks like useEffect and similar Warning
if (!open) { | ||
updateSwapStep(ButtonClickPossibilities.PREVIOUS_STEP); | ||
} | ||
}, [open]); |
Check warning
Code scanning / ESLint
verifies the list of dependencies for Hooks like useEffect and similar Warning
); | ||
}; | ||
fetchApprove(); | ||
}, [nftAuthUser, allSelectedNftsApproved]); |
Check warning
Code scanning / ESLint
verifies the list of dependencies for Hooks like useEffect and similar Warning
@@ -0,0 +1,46 @@ | |||
/* eslint-disable @typescript-eslint/no-var-requires */ | |||
require("dotenv").config(); |
Check failure
Code scanning / ESLint
Disallow `require` statements except in import statements Error
getUserAddress(); | ||
}, 2000); | ||
return () => clearTimeout(requestDelay); | ||
}, [inputAddress]); |
Check warning
Code scanning / ESLint
verifies the list of dependencies for Hooks like useEffect and similar Warning
wrong branch sorry |
(Closes #146 🔒)