You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Use separate name for verification request component
This commit is contained in:
@@ -701,7 +701,7 @@ const PHASE_MAP = {
|
||||
[PHASE_CANCELLED]: "cancelled",
|
||||
};
|
||||
|
||||
const VerificationRequest: React.FC<{
|
||||
const VerificationRequestExplorer: React.FC<{
|
||||
txnId: string;
|
||||
request: VerificationRequest;
|
||||
}> = ({txnId, request}) => {
|
||||
@@ -772,7 +772,7 @@ class VerificationExplorer extends React.PureComponent<IExplorerProps> {
|
||||
return (<div>
|
||||
<div className="mx_Dialog_content">
|
||||
{Array.from(inRoomRequests.entries()).reverse().map(([txnId, request]) =>
|
||||
<VerificationRequest txnId={txnId} request={request} key={txnId} />,
|
||||
<VerificationRequestExplorer txnId={txnId} request={request} key={txnId} />,
|
||||
)}
|
||||
</div>
|
||||
<div className="mx_Dialogbuttons">
|
||||
|
||||
Reference in New Issue
Block a user