Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha committed Dec 13, 2024
1 parent e9f3392 commit 369bf57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import { z } from 'zod';

const FETCH_PINNED_TOKEN_STALE_TIME = 60 * 3_000; // 3 mins

type UseFetchTokensProps = Omit<
type UseGetPinnedTokensByCommunityIdProps = Omit<
z.infer<typeof GetPinnedTokens.input>,
'community_ids'
> & {
community_ids: string[];
enabled?: boolean;
};

const useGetPinnedTokenByCommunityId = ({
const useGetPinnedTokensByCommunityId = ({
community_ids,
with_chain_node,
enabled,
}: UseFetchTokensProps) => {
}: UseGetPinnedTokensByCommunityIdProps) => {
return trpc.community.getPinnedTokens.useQuery(
{
community_ids: community_ids.join(','),
Expand All @@ -29,4 +29,4 @@ const useGetPinnedTokenByCommunityId = ({
);
};

export default useGetPinnedTokenByCommunityId;
export default useGetPinnedTokensByCommunityId;
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import { z } from 'zod';

const FETCH_TOKEN_STALE_TIME = 60 * 3_000; // 3 mins

type UseFetchTokensProps = z.infer<typeof GetToken.input> & {
type UseGetTokenByCommunityIdProps = z.infer<typeof GetToken.input> & {
enabled?: boolean;
};

const useGetTokenByCommunityId = ({
community_id,
with_stats = true,
enabled,
}: UseFetchTokensProps) => {
}: UseGetTokenByCommunityIdProps) => {
return trpc.launchpadToken.getToken.useQuery(
{
community_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Token = () => {
);

return (
<section className="Stake">
<section className="Token">
<div className="header">
<div className="flex-row">
<CWText type="h4">
Expand Down

0 comments on commit 369bf57

Please sign in to comment.