Closed ghost closed 1 year ago
where is the export * from '@cosmos-kit/react-lite/src/hooks';
statement?
yea we should remove this https://github.com/cosmology-tech/cosmos-kit/blob/9e064d9d837ea4480b25ec6c74097ab6a7562366/packages/react/types/index.d.ts#L1
cc @liujun93 exporting from src/
is wrong because it doesn't currently have the types there. We should only export things directly
@0xArbi Fixed in the latest version. Thanks
The latest version of
@cosmos-kit/react
doesn't export theuseChain
hook anymore, breaking my build.I suspect the reason is because its been moved to
react-lite
, andreact
is supposed to export everything fromreact-lite
. But the export statementexport * from '@cosmos-kit/react-lite/src/hooks';
, looks wrong. I believe it should be exporting the built directory.