This commit is contained in:
Half-Shot
2024-11-08 13:39:43 +00:00
parent 0d94d9abc9
commit 251d1c86f7
4 changed files with 3 additions and 5 deletions

View File

@@ -8,7 +8,6 @@ Please see LICENSE in the repository root for full details.
import {
Button as CpdButton,
Tooltip,
Separator,
Search,
Form,
Alert,

View File

@@ -12,11 +12,10 @@ import {
useEffect,
useState,
} from "react";
import "@formatjs/intl-durationformat/polyfill";
import { DurationFormat } from "@formatjs/intl-durationformat";
import { useTranslation } from "react-i18next";
import { ReactionIndicator } from "./ReactionIndicator";
import { useTranslation } from "react-i18next";
const durationFormatter = new DurationFormat(undefined, {
minutesDisplay: "always",

View File

@@ -7,9 +7,9 @@ Please see LICENSE in the repository root for full details.
import { PropsWithChildren, ReactNode } from "react";
import classNames from "classnames";
import { useTranslation } from "react-i18next";
import styles from "./ReactionIndicator.module.css";
import { useTranslation } from "react-i18next";
export function ReactionIndicator({
emoji,

View File

@@ -32,7 +32,7 @@ export const PreferencesSettingsTab: FC = () => {
const onChangeSetting = (
e: ChangeEvent<HTMLInputElement>,
fn: (value: boolean) => void,
) => {
): void => {
fn(e.target.checked);
};