File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
packages/shared/src/react/hooks Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change 11import { useCallback } from 'react' ;
2+
23import { eventMethodCalled } from '../../telemetry/events' ;
3- import type { EnvironmentResource , BillingSubscriptionResource , ForPayerType } from '../../types' ;
4+ import type { BillingSubscriptionResource , EnvironmentResource , ForPayerType } from '../../types' ;
45import { useSWR } from '../clerk-swr' ;
56import {
67 useAssertWrappedByClerkProvider ,
@@ -16,13 +17,14 @@ const hookName = 'useSubscription';
1617 */
1718export 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 */
You can’t perform that action at this time.
0 commit comments