Skip to content

Commit

Permalink
style: remove reponse type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek committed Feb 19, 2024
1 parent 45acf0c commit a0f5526
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/hooks/helpers/useIndividualRewardAllEpochs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import { apiGetIndividualRewards, Response } from 'api/calls/individualRewards';
import { QUERY_KEYS } from 'api/queryKeys';
import useCurrentEpoch from 'hooks/queries/useCurrentEpoch';

type Test = { data: BigNumber[]; isFetching: boolean };

export default function useIndividualRewardAllEpochs(
options?: Omit<UseQueryOptions<Response, Error, Response, any>, 'queryKey'>,
): Test {
): { data: BigNumber[]; isFetching: boolean } {
const { address } = useAccount();
const { data: currentEpoch, isFetching: isFetchingCurrentEpoch } = useCurrentEpoch();

Expand Down

0 comments on commit a0f5526

Please sign in to comment.