Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix comment format for instant hooks #435

Merged
merged 1 commit into from
Aug 11, 2023
Merged

fix comment format for instant hooks #435

merged 1 commit into from
Aug 11, 2023

Conversation

Zetazzz
Copy link
Collaborator

@Zetazzz Zetazzz commented Aug 11, 2023

add package + useHook in front of comments of exposed hooks:

    /**
     * cosmos.nft.v1beta1.useBalance
     * Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
     */
    useCosmosNftV1beta1Balance: _CosmosNftV1beta1Queryrpc.createRpcQueryHooks(rpc).useBalance,

if there's no comment originally, use original method name as a comment:

    /**
     * osmosis.gamm.v1beta1.usePools
     * Pools
     */

@Zetazzz Zetazzz merged commit 8e9ad18 into main Aug 11, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant