-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add utility code for NFT Features (#4256)
* import nft utilities * re-add featureflag provider * add back in useCurrencyBalanceString fn * remove static assets for separate pr * remove resolutions, swap dev and regular dependencies, respond to comments * remove currently unused dependencies and resynth .lock * build: update lockfile * build: update lockfile * remove env check * useCurrencyBalanceString as fn * remove supported_Wallets until wallet component merged in * make Atoms an interface * update abis * remove outdated comment * update usedebounce hook * remove useDarkMode * remove useLazyEffect * remove getEtherscan helper fn * remove useLastWallet * remove useWindowDimensions * refactor hooks * move hooks from nft to general folder * add walletBalanceInterface and remove wrongNetwork hook * remove empty obj * remove ethers imports * fixed comparison * same line eslint ignore * gtag removed * revert * revert * build: update lockfile * remove walletinfo interface * remove newline * remove tslinst exception from isMobile * remove hiding linter warnings * remove unused util * fix linter warnings Co-authored-by: Charles Bachmeier <charlie@genie.xyz> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
- Loading branch information
1 parent
783f197
commit 8dbc91e
Showing
109 changed files
with
7,438 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const { VanillaExtractPlugin } = require('@vanilla-extract/webpack-plugin') | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin') | ||
|
||
module.exports = { | ||
babel: { | ||
plugins: ['@vanilla-extract/babel-plugin'], | ||
}, | ||
webpack: { | ||
plugins: [new VanillaExtractPlugin()], | ||
configure: (webpackConfig) => { | ||
const instanceOfMiniCssExtractPlugin = webpackConfig.plugins.find( | ||
(plugin) => plugin instanceof MiniCssExtractPlugin | ||
) | ||
if (instanceOfMiniCssExtractPlugin !== undefined) instanceOfMiniCssExtractPlugin.options.ignoreOrder = true | ||
return webpackConfig | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8dbc91e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
interface – ./
interface-uniswap.vercel.app
interface-git-main-uniswap.vercel.app