hyperweb-io / hyperweb-io/cosmos-kit

Next 14 issues

Open
#388 6 comments 1 reaction 1 assignee Claimed by @yyyyaaa View on GitHub
Dominant language
TypeScript
Stars
201
Forks
159
PR merge metrics
No merged PRs in 30d

Description

From Discord `dgabri3le | Gelotto`:

Getting these errors while using CK within next14 app router:

![image](https://github.com/cosmology-tech/cosmos-kit/assets/44238025/de46313f-d7a6-4749-8e7e-33a72a712754)

Moved everything over into the old pages router
No more hydration error, but when the modal opens up, I'm getting

![image](https://github.com/cosmology-tech/cosmos-kit/assets/44238025/f44b4c72-5384-4d2f-8410-b8aca65ba794)

The 50 error messages are all Failed to decode downloaded font: https://fonts.googleapis.com/css?family=Inter
I had removed next/font with this repo
I can add it back in, but perhaps its best not to have CK assume it's there -- if that's indeed what's happening. Not sure yet
Added next/font back but no difference

```
app | ○ Compiling / ...
app | ⚠ ./node_modules/pino/lib/tools.js
app | Module not found: Can't resolve 'pino-pretty' in '/usr/src/node_modules/pino/lib'
app |
app | Import trace for requested module:
app | ./node_modules/pino/lib/tools.js
app | ./node_modules/pino/pino.js
app | ./node_modules/@walletconnect/logger/dist/cjs/index.js
app | ./node_modules/@walletconnect/sign-client/dist/index.es.js
app | ./node_modules/@cosmos-kit/walletconnect/esm/client.js
app | ./node_modules/@cosmos-kit/walletconnect/esm/index.js
app | ./node_modules/@cosmos-kit/keplr-mobile/esm/wallet-connect/chain-wallet.js
app | ./node_modules/@cosmos-kit/keplr-mobile/esm/wallet-connect/index.js
app | ./node_modules/@cosmos-kit/keplr-mobile/esm/index.js
app | ./node_modules/@cosmos-kit/keplr/esm/index.js
app | ./app/layout.tsx
app | [DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.
app | [DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.
app | [DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937
app | ⚠ ./node_modules/pino/lib/tools.js
app | Module not found: Can't resolve 'pino-pretty' in '/usr/src/node_modules/pino/lib'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.