Skip to content

Commit 7c7ddb6

Browse files
committed
Fix build
1 parent b6e0a0e commit 7c7ddb6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/shared/src/react/hooks/useReverification.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ type UseReverification = <
8585
>(
8686
/**
8787
* A function that returns a promise.
88-
*/ fetcher: Fetcher,
88+
*/
89+
fetcher: Fetcher,
8990
/**
9091
* Optional configuration object extending `UseReverificationOptions`.
9192
*/

packages/shared/src/react/hooks/useSubscription.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useCallback } from 'react';
2+
23
import { eventMethodCalled } from '../../telemetry/events';
3-
import type { EnvironmentResource, BillingSubscriptionResource, ForPayerType } from '../../types';
4+
import type { BillingSubscriptionResource, EnvironmentResource, ForPayerType } from '../../types';
45
import { useSWR } from '../clerk-swr';
56
import {
67
useAssertWrappedByClerkProvider,
@@ -16,13 +17,14 @@ const hookName = 'useSubscription';
1617
*/
1718
export type UseSubscriptionParams = {
1819
/**
19-
* Specifies whether to fetch subscription for an organization or user.
20+
* Specifies whether to fetch the subscription for an organization or a user.
2021
*
2122
* @default 'user'
2223
*/
2324
for?: ForPayerType;
2425
/**
25-
* If `true`, the previous data will be kept in the cache until new data is fetched. This helps prevent layout shifts.
26+
* If `true`, the previous data will be kept in the cache until new data is fetched.
27+
* This helps prevent layout shifts.
2628
*
2729
* @default false
2830
*/

0 commit comments

Comments
 (0)