Skip to content

Commit 4e372a1

Browse files
committed
chore: consistent api key naming
1 parent 00aa981 commit 4e372a1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/clerk-js/src/ui/components/ApiKeys/CreateApiKeyForm.tsx renamed to packages/clerk-js/src/ui/components/ApiKeys/CreateAPIKeyForm.tsx

File renamed without changes.

packages/clerk-js/src/ui/components/ApiKeys/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useCallback, useEffect, useRef } from 'react';
22
import { useSWRConfig } from 'swr';
33

4-
type UseApiKeysPaginationParams = {
4+
type UseAPIKeysPaginationParams = {
55
query: string;
66
page: number;
77
pageCount: number;
@@ -23,7 +23,7 @@ export const useAPIKeysPagination = ({
2323
isFetching,
2424
subject,
2525
fetchPage,
26-
}: UseApiKeysPaginationParams) => {
26+
}: UseAPIKeysPaginationParams) => {
2727
const { mutate } = useSWRConfig();
2828

2929
// Invalidate all cache entries for this user or organization

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { assertContextExists, createContextAndHook } from './createContextAndHook';
2-
export { useApiKeys as __experimental_useAPIKeys } from './useApiKeys';
2+
export { useApiKeys as __experimental_useAPIKeys } from './useAPIKeys';
33
export { useOrganization } from './useOrganization';
44
export { useOrganizationList } from './useOrganizationList';
55
export { useSafeLayoutEffect } from './useSafeLayoutEffect';
File renamed without changes.

0 commit comments

Comments
 (0)