Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed May 24, 2022
1 parent 1e8185e commit 7150d1c
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FieldGroup, Field, ToggleSwitch, Select } from '@rocket.chat/fuselage';
import type { SelectOption } from '@rocket.chat/fuselage';
import { useTranslation } from '@rocket.chat/ui-contexts';
import React from 'react';
import React, { VFC } from 'react';

import VerticalBar from '../../../../components/VerticalBar';

Expand All @@ -14,7 +14,14 @@ type AutoTranslateProps = {
handleClose?: () => void;
};

const AutoTranslate = ({ language, languages, handleSwitch, translateEnable, handleChangeLanguage, handleClose }: AutoTranslateProps) => {
const AutoTranslate: VFC<AutoTranslateProps> = ({
language,
languages,
handleSwitch,
translateEnable,
handleChangeLanguage,
handleClose,
}) => {
const t = useTranslation();

return (
Expand Down

0 comments on commit 7150d1c

Please sign in to comment.