Skip to content

Commit 0b37210

Browse files
committed
Linter
1 parent 5d8cae4 commit 0b37210

79 files changed

Lines changed: 108 additions & 107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/react/src/components/authentication/AuthFlow.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
import type {
2-
ContinueOnOtherEnvBlock,
3-
EmailVerifyBlock,
4-
LoginInitBlock,
5-
MissingFieldsBlock,
6-
PasskeyAppendBlock,
7-
PasskeyAppendedBlock,
8-
PasskeyVerifyBlock,
9-
PhoneVerifyBlock,
10-
SignupInitBlock,
11-
} from '../../shared-ui';
12-
import { BlockTypes, InitState, ScreenNames } from '../../shared-ui';
131
import type { FC } from 'react';
142
import React, { useEffect, useMemo, useState } from 'react';
153

@@ -35,6 +23,18 @@ import { PasskeyHybrid } from '../../screens/auth-blocks/passkey-verify/PasskeyH
3523
import { EditPhone } from '../../screens/auth-blocks/phone-verify/EditPhone';
3624
import { PhoneOtp } from '../../screens/auth-blocks/phone-verify/PhoneOtp';
3725
import { SignupInit } from '../../screens/auth-blocks/signup-init/SignupInit';
26+
import type {
27+
ContinueOnOtherEnvBlock,
28+
EmailVerifyBlock,
29+
LoginInitBlock,
30+
MissingFieldsBlock,
31+
PasskeyAppendBlock,
32+
PasskeyAppendedBlock,
33+
PasskeyVerifyBlock,
34+
PhoneVerifyBlock,
35+
SignupInitBlock,
36+
} from '../../shared-ui';
37+
import { BlockTypes, InitState, ScreenNames } from '../../shared-ui';
3838
import { ComponentUnavailableError } from '../ui/errors/ComponentUnavailable';
3939
import ErrorPopup from '../ui/errors/ErrorPopup';
4040
import { FreemiumBadge } from '../ui/FreemiumBadge';

packages/react/src/components/authentication/login-init/LastIdentifier.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { LoginIdentifierType, type LoginInitBlock } from '../../../shared-ui';
21
import type { FC } from 'react';
32
import React, { useMemo } from 'react';
43
import { useTranslation } from 'react-i18next';
54

5+
import { LoginIdentifierType, type LoginInitBlock } from '../../../shared-ui';
66
import { LoadingSpinner, SecondaryButton, Text } from '../../ui';
77
import { PasskeyDefaultIcon } from '../../ui/icons/PasskeyDefaultIcon';
88
import { RightIcon } from '../../ui/icons/RightIcon';

packages/react/src/components/authentication/login-init/LoginForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import type { LoginInitBlock, TextFieldWithError } from '../../../shared-ui';
21
import type { FC, FormEvent } from 'react';
32
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
43
import { useTranslation } from 'react-i18next';
54

65
import { ObserveContext } from '../../../contexts/ObserveContext';
76
import { useTelemetry } from '../../../hooks/useTelemetry';
7+
import type { LoginInitBlock, TextFieldWithError } from '../../../shared-ui';
88
import type { InputFieldProps } from '../../ui';
99
import { InputField, PhoneInputField, PrimaryButton } from '../../ui';
1010

packages/react/src/components/ui/FreemiumBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { InitState } from '../../shared-ui';
21
import type { FC } from 'react';
32
import React from 'react';
43

54
import useFlowHandler from '../../hooks/useFlowHandler';
5+
import { InitState } from '../../shared-ui';
66

77
export const FreemiumBadge: FC = () => {
88
const { initState } = useFlowHandler();

packages/react/src/components/ui/SocialLoginButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import type { SocialLogin } from '../../shared-ui';
21
import type { SocialProviderType } from '@corbado/web-core';
32
import type { TFunction } from 'i18next';
43
import type { FC, ReactNode } from 'react';
54
import React, { useEffect } from 'react';
65

6+
import type { SocialLogin } from '../../shared-ui';
77
import { IconButton } from './buttons/IconButton';
88
import { Divider } from './Divider';
99
import GithubIcon from './icons/GithubLogo';

packages/react/src/components/ui/icons/AddIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import addSrc from '../../../shared-ui/assets/add.svg';
21
import type { FC } from 'react';
32
import { memo, useRef } from 'react';
43
import React from 'react';
54

65
import { useIconWithTheme } from '../../../hooks/useIconWithTheme';
6+
import addSrc from '../../../shared-ui/assets/add.svg';
77
import type { IconProps } from './Icon';
88
import { Icon } from './Icon';
99

packages/react/src/components/ui/icons/AppleLogo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import appleSrc from '../../../shared-ui/assets/apple.svg';
21
import type { FC } from 'react';
32
import React, { useRef } from 'react';
43

54
import { useIconWithTheme } from '../../../hooks/useIconWithTheme';
5+
import appleSrc from '../../../shared-ui/assets/apple.svg';
66
import type { IconProps } from './Icon';
77
import { Icon } from './Icon';
88

packages/react/src/components/ui/icons/CancelIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import cancelSrc from '../../../shared-ui/assets/cancel.svg';
21
import type { FC } from 'react';
32
import { memo, useRef } from 'react';
43
import React from 'react';
54

65
import { useIconWithTheme } from '../../../hooks/useIconWithTheme';
6+
import cancelSrc from '../../../shared-ui/assets/cancel.svg';
77
import type { IconProps } from './Icon';
88
import { Icon } from './Icon';
99

packages/react/src/components/ui/icons/CircleExclamationIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import circleExclamationSrc from '../../../shared-ui/assets/circle-exclamation.svg';
21
import React, { memo, useRef } from 'react';
32

43
import { useIconWithTheme } from '../../../hooks/useIconWithTheme';
4+
import circleExclamationSrc from '../../../shared-ui/assets/circle-exclamation.svg';
55
import type { IconProps } from './Icon';
66
import { Icon } from './Icon';
77

packages/react/src/components/ui/icons/DeleteIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import deleteSrc from '../../../shared-ui/assets/delete.svg';
21
import type { FC } from 'react';
32
import { memo, useRef } from 'react';
43
import React from 'react';
54

65
import { useIconWithTheme } from '../../../hooks/useIconWithTheme';
6+
import deleteSrc from '../../../shared-ui/assets/delete.svg';
77
import type { IconProps } from './Icon';
88
import { Icon } from './Icon';
99

0 commit comments

Comments
 (0)