mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript compiling and fixing linting issues
This commit is contained in:
1 parent
b1babd88c2
commit
3273d192c9
49 files changed
+271
-110
No files matched your search
@@ -7,7 +7,6 @@ import {
|
||||
Button,
|
||||
Typography,
|
||||
} from "@material-ui/core";
|
||||
import FavoriteBorderIcon from "@material-ui/icons/FavoriteBorder";
|
||||
import MoreIcon from "@material-ui/icons/MoreVert";
|
||||
|
||||
import { ListItem } from "../../../../ui/components/ListItem";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { useEffect, useRef } from "react";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { TextField } from "@material-ui/core";
|
||||
@@ -23,6 +23,8 @@ export const TweetMessage = ({ message, handleChange }) => {
|
||||
const { config } = usePhone();
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (!config) return null;
|
||||
|
||||
const overCharacterLimit =
|
||||
message.trim().length > config.twitter.characterLimit;
|
||||
const characterWarningPrompt = `${t(
|
||||
|
||||
Reference in new issue
Block a user