Skip to content

glifio/wallet-provider-react

Repository files navigation

@glif/wallet-provider-react

Shared @glif/wallet-provider-react components!

npm install @glif/wallet-provider-react

FAQ

The best place to learn to use this library is in the Glif Sender

Multiple React warnings when linking

Peer dependencies should be resolved to a single instance by your bundler. In Next.js, you can add the following field to your next.config.js config object:

const path = require('path')
const webpack = (
  config,
  { buildId, dev, isServer, defaultLoaders, webpack }
) => {
  config.resolve.alias = {
    ...config.resolve.alias,
    react: path.resolve('./node_modules/react'),
    'react-dom': path.resolve('./node_modules/react-dom'),
    next: path.resolve('./node_modules/next'),
    'styled-components': path.resolve('./node_modules/styled-components')
  }

  return config
}

module.exports = {
  webpack
}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published