Skip to content

Commit

Permalink
chore(clerk-react): Drop useMagicLink hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkl committed Nov 7, 2023
1 parent 4851653 commit e5bf9b6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 67 deletions.
13 changes: 6 additions & 7 deletions packages/react/src/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
export { useUser } from './useUser';
export { useAuth } from './useAuth';
export { useSession } from './useSession';
export { useClerk } from './useClerk';
export { useSignIn } from './useSignIn';
export { useSignUp } from './useSignUp';
export { useSessionList } from './useSessionList';
export { useEmailLink } from './useEmailLink';
export { useOrganization } from './useOrganization';
export { useOrganizationList } from './useOrganizationList';
export { useOrganizations } from './useOrganizations';
export { useMagicLink } from './useMagicLink';
export { useEmailLink } from './useEmailLink';
export { useSession } from './useSession';
export { useSessionList } from './useSessionList';
export { useSignIn } from './useSignIn';
export { useSignUp } from './useSignUp';
export { useUser } from './useUser';
46 changes: 0 additions & 46 deletions packages/react/src/hooks/useMagicLink.ts

This file was deleted.

27 changes: 13 additions & 14 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
import './polyfills';

export * from './contexts';
export * from './components';
export * from './contexts';
export {
EmailLinkErrorCode,
MagicLinkErrorCode,
isClerkAPIResponseError,
isEmailLinkError,
isKnownError,
isMagicLinkError,
isMetamaskError,
} from './errors';
export * from './hooks';
export { useEmailLink } from './hooks/useEmailLink';
export type {
BrowserClerk,
ClerkProp,
HeadlessBrowserClerk,
WithUserProp,
IsomorphicClerkOptions,
WithClerkProp,
WithSessionProp,
IsomorphicClerkOptions,
WithUserProp,
} from './types';
export {
MagicLinkErrorCode,
EmailLinkErrorCode,
isClerkAPIResponseError,
isKnownError,
isMetamaskError,
isMagicLinkError,
isEmailLinkError,
} from './errors';
export { useMagicLink } from './hooks/useMagicLink';
export { useEmailLink } from './hooks/useEmailLink';

0 comments on commit e5bf9b6

Please sign in to comment.