refactor: Use arrow function where possible (#3315)

This commit is contained in:
Lipis 2021-03-29 17:09:20 +03:00 committed by GitHub
parent bb568a9670
commit 722e5ca845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 24 additions and 26 deletions

View file

@ -2,7 +2,7 @@ import clsx from "clsx";
import React, { useEffect } from "react";
import { useCallbackRefState } from "../hooks/useCallbackRefState";
import { t } from "../i18n";
import useIsMobile from "../is-mobile";
import { useIsMobile } from "../is-mobile";
import { KEYS } from "../keys";
import "./Dialog.scss";
import { back, close } from "./icons";