Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Dec 8, 2022
1 parent 9cb1f9e commit f621bd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/app/ui-message/client/messageBox/messageBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export type MessageBoxTemplateInstance = Blaze.TemplateInstance<{
sendIconDisabled: ReactiveVar<boolean>;
};

let lastFocusedInput: HTMLTextAreaElement | undefined = undefined;
const lastFocusedInput: HTMLTextAreaElement | undefined = undefined;

export const refocusComposer = () => {
(lastFocusedInput ?? document.querySelector<HTMLTextAreaElement>('.js-input-message'))?.focus();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import React from 'react';

import ActionAttachmentButton from './ActionAttachmentButton';

import ActionAttachmentButton from './ActionAttachmentButton';

export const ActionAttachment: FC<MessageAttachmentAction> = ({ actions }) => (
<ButtonGroup mb='x4' {...({ small: true } as any)}>
{actions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useTranslation } from '@rocket.chat/ui-contexts';
import React, { useCallback, ReactElement, Fragment } from 'react';
import type { ReactElement } from 'react';
import React, { useCallback, Fragment } from 'react';

import { UserAction } from '../../../../../../../app/ui/client/lib/UserAction';
import { useReactiveValue } from '../../../../../../hooks/useReactiveValue';
Expand Down

0 comments on commit f621bd9

Please sign in to comment.