cosmology-tech / cosmos-kit

Universal wallet connector for the Cosmos ⚛️
https://cosmology.zone/products/cosmos-kit
BSD 3-Clause Clear License
183 stars 128 forks source link

fix(react): move interchain ui to peerDependency to avoid css conflicts #368

Closed yyyyaaa closed 9 months ago

yyyyaaa commented 9 months ago

This PR solves a CSS conflict issue when working with create-cosmos-app. Root cause: 2 versions of interchain installed: 1 from cosmos kit dep, 1 from peerDep within cca template Each version of interchain ui comes with its own unique CSS file because of hashed class names, which leads to some classNames/selectors being overridden