Remove TextStyle (error in console)

This commit is contained in:
Nicola Benaglia 2025-05-17 11:53:38 +02:00
parent a8f95b3176
commit d3b8430b90
3 changed files with 1 additions and 9 deletions

View File

@ -34,7 +34,6 @@ import { Spacer } from '../../common/Spacer';
import { ReactionPicker } from '../ReactionPicker';
import KeyOffIcon from '@mui/icons-material/KeyOff';
import EditIcon from '@mui/icons-material/Edit';
import TextStyle from '@tiptap/extension-text-style';
import level0Img from '../../assets/badges/level-0.png';
import level1Img from '../../assets/badges/level-1.png';
import level2Img from '../../assets/badges/level-2.png';
@ -140,7 +139,6 @@ export const MessageItem = memo(
Underline,
Highlight,
Mention,
TextStyle,
]);
}
}, [message?.editTimestamp]);
@ -152,7 +150,6 @@ export const MessageItem = memo(
Underline,
Highlight,
Mention,
TextStyle,
]);
}
}, [reply?.editTimestamp]);
@ -673,7 +670,6 @@ export const ReplyPreview = ({ message, isEdit = false }) => {
Underline,
Highlight,
Mention,
TextStyle,
])}
/>
)}

View File

@ -373,7 +373,6 @@ export const Group = ({
desktopViewMode,
}: GroupProps) => {
const [desktopSideView, setDesktopSideView] = useState('groups');
const [secretKey, setSecretKey] = useState(null);
const [secretKeyPublishDate, setSecretKeyPublishDate] = useState(null);
const lastFetchedSecretKey = useRef(null);
@ -396,14 +395,11 @@ export const Group = ({
const [openAddGroup, setOpenAddGroup] = useState(false);
const [isInitialGroups, setIsInitialGroups] = useState(false);
const [openManageMembers, setOpenManageMembers] = useState(false);
const setMemberGroups = useSetAtom(memberGroupsAtom);
const lastGroupNotification = useRef<null | number>(null);
const [timestampEnterData, setTimestampEnterData] = useAtom(
timestampEnterDataAtom
);
const [chatMode, setChatMode] = useState('groups');
const [newChat, setNewChat] = useState(false);
const [openSnack, setOpenSnack] = useState(false);

View File

@ -68,7 +68,7 @@
"select_name_app": "select Name/App",
"set_avatar": "set avatar",
"start_minting": "start minting",
"start_typing": "start typing here...",
"start_typing": "start typing here...aa",
"transfer_qort": "Transfer QORT",
"unpin": "unpin",
"unpin_app": "unpin app",