mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-01 22:55:51 +00:00
lint
This commit is contained in:
@@ -8,7 +8,6 @@ Please see LICENSE in the repository root for full details.
|
|||||||
import {
|
import {
|
||||||
Button as CpdButton,
|
Button as CpdButton,
|
||||||
Tooltip,
|
Tooltip,
|
||||||
Separator,
|
|
||||||
Search,
|
Search,
|
||||||
Form,
|
Form,
|
||||||
Alert,
|
Alert,
|
||||||
|
|||||||
@@ -12,11 +12,10 @@ import {
|
|||||||
useEffect,
|
useEffect,
|
||||||
useState,
|
useState,
|
||||||
} from "react";
|
} from "react";
|
||||||
import "@formatjs/intl-durationformat/polyfill";
|
|
||||||
import { DurationFormat } from "@formatjs/intl-durationformat";
|
import { DurationFormat } from "@formatjs/intl-durationformat";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
import { ReactionIndicator } from "./ReactionIndicator";
|
import { ReactionIndicator } from "./ReactionIndicator";
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
const durationFormatter = new DurationFormat(undefined, {
|
const durationFormatter = new DurationFormat(undefined, {
|
||||||
minutesDisplay: "always",
|
minutesDisplay: "always",
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ Please see LICENSE in the repository root for full details.
|
|||||||
|
|
||||||
import { PropsWithChildren, ReactNode } from "react";
|
import { PropsWithChildren, ReactNode } from "react";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
import styles from "./ReactionIndicator.module.css";
|
import styles from "./ReactionIndicator.module.css";
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
export function ReactionIndicator({
|
export function ReactionIndicator({
|
||||||
emoji,
|
emoji,
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export const PreferencesSettingsTab: FC = () => {
|
|||||||
const onChangeSetting = (
|
const onChangeSetting = (
|
||||||
e: ChangeEvent<HTMLInputElement>,
|
e: ChangeEvent<HTMLInputElement>,
|
||||||
fn: (value: boolean) => void,
|
fn: (value: boolean) => void,
|
||||||
) => {
|
): void => {
|
||||||
fn(e.target.checked);
|
fn(e.target.checked);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user