Rename context name

This commit is contained in:
Nicola Benaglia
2025-05-24 11:27:14 +02:00
parent 59de42b4cc
commit 9fcbd8aaff
32 changed files with 77 additions and 65 deletions

View File

@@ -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);