Skip to content

Commit a7305fd

Browse files
committed
fix: lint issues
1 parent 490524a commit a7305fd

File tree

7 files changed

+6
-76
lines changed

7 files changed

+6
-76
lines changed

package/src/components/MessageInput/__tests__/AttachButton.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { initiateClientWithChannels } from '../../../mock-builders/api/initiateC
88
import * as NativeHandler from '../../../native';
99
import { Channel } from '../../Channel/Channel';
1010
import { Chat } from '../../Chat/Chat';
11-
import { AttachButton } from '../AttachButton';
11+
import { AttachButton } from '../components/InputButtons/AttachButton';
1212

1313
const renderComponent = ({ channelProps, client, props }) => {
1414
return render(

package/src/components/MessageInput/__tests__/AttachmentUploadPreviewList.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import { FileState } from '../../../utils/utils';
1515
import { Channel } from '../../Channel/Channel';
1616
import { Chat } from '../../Chat/Chat';
17-
import { AttachmentUploadPreviewList } from '../AttachmentUploadPreviewList';
17+
import { AttachmentUploadPreviewList } from '../components/AttachmentPreview/AttachmentUploadPreviewList';
1818

1919
jest.mock('../../../native.ts', () => {
2020
const { View } = require('react-native');

package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreview.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { generateAudioAttachment } from '../../../mock-builders/attachments';
99
import { FileState } from '../../../utils/utils';
1010
import { Channel } from '../../Channel/Channel';
1111
import { Chat } from '../../Chat/Chat';
12-
import { AttachmentUploadPreviewList } from '../AttachmentUploadPreviewList';
12+
import { AttachmentUploadPreviewList } from '../components/AttachmentPreview/AttachmentUploadPreviewList';
1313

1414
jest.mock('../../../native.ts', () => {
1515
const View = require('react-native').View;

package/src/components/MessageInput/__tests__/CommandsButton.test.js

Lines changed: 0 additions & 70 deletions
This file was deleted.

package/src/components/MessageInput/__tests__/InputButtons.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { generateImageAttachment } from '../../../mock-builders/attachments';
99
import { FileState } from '../../../utils/utils';
1010
import { Channel } from '../../Channel/Channel';
1111
import { Chat } from '../../Chat/Chat';
12-
import { InputButtons } from '../InputButtons';
12+
import { InputButtons } from '../components/InputButtons/index';
1313

1414
const renderComponent = ({ channelProps, client, props }) => {
1515
return render(

package/src/components/MessageInput/__tests__/SendButton.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { OverlayProvider } from '../../../contexts';
77
import { initiateClientWithChannels } from '../../../mock-builders/api/initiateClientWithChannels';
88
import { Channel } from '../../Channel/Channel';
99
import { Chat } from '../../Chat/Chat';
10-
import { SendButton } from '../SendButton';
10+
import { SendButton } from '../components/OutputButtons/SendButton';
1111

1212
const renderComponent = ({ client, channel, props }) => {
1313
return render(

package/src/contexts/messageInputContext/MessageInputContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ import type { CommandInputProps } from '../../components/MessageInput/components
4949
import type { AttachButtonProps } from '../../components/MessageInput/components/InputButtons/AttachButton';
5050
import type { InputButtonsProps } from '../../components/MessageInput/components/InputButtons/index';
5151
import type { CooldownTimerProps } from '../../components/MessageInput/components/OutputButtons/CooldownTimer';
52+
import type { SendButtonProps } from '../../components/MessageInput/components/OutputButtons/SendButton';
5253
import { useCooldown } from '../../components/MessageInput/hooks/useCooldown';
5354
import type { MessageInputProps } from '../../components/MessageInput/MessageInput';
54-
import type { SendButtonProps } from '../../components/MessageInput/components/OutputButtons/SendButton';
5555
import { useStableCallback } from '../../hooks/useStableCallback';
5656
import {
5757
createAttachmentsCompositionMiddleware,

0 commit comments

Comments
 (0)