mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-11-03 06:27:05 +00:00
Rename context name
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
useTheme,
|
||||
} from '@mui/material';
|
||||
import { formatTimestamp } from '../../utils/time';
|
||||
import { MyContext, getBaseApiReact } from '../../App';
|
||||
import { QORTAL_APP_CONTEXT, getBaseApiReact } from '../../App';
|
||||
import { generateHTML } from '@tiptap/react';
|
||||
import Highlight from '@tiptap/extension-highlight';
|
||||
import Mention from '@tiptap/extension-mention';
|
||||
@@ -113,7 +113,7 @@ export const MessageItem = memo(
|
||||
onEdit,
|
||||
isPrivate,
|
||||
}) => {
|
||||
const { getIndividualUserInfo } = useContext(MyContext);
|
||||
const { getIndividualUserInfo } = useContext(QORTAL_APP_CONTEXT);
|
||||
const [anchorEl, setAnchorEl] = useState(null);
|
||||
const [selectedReaction, setSelectedReaction] = useState(null);
|
||||
const [userInfo, setUserInfo] = useState(null);
|
||||
|
||||
Reference in New Issue
Block a user