mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-22 20:26:50 +00:00
Remove TextStyle (error in console)
This commit is contained in:
@@ -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,
|
||||
])}
|
||||
/>
|
||||
)}
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user