You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Update propTypes and remove todo
This commit is contained in:
@@ -14,7 +14,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import React, {useCallback, useEffect, useState} from 'react';
|
||||
import React, {useCallback, useEffect, useState} from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import EncryptionInfo from "./EncryptionInfo";
|
||||
import VerificationPanel from "./VerificationPanel";
|
||||
@@ -85,7 +86,9 @@ const EncryptionPanel = ({verificationRequest, member, onClose}) => {
|
||||
}
|
||||
};
|
||||
EncryptionPanel.propTypes = {
|
||||
|
||||
member: PropTypes.object.isRequired,
|
||||
onClose: PropTypes.func.isRequired,
|
||||
verificationRequest: PropTypes.object,
|
||||
};
|
||||
|
||||
export default EncryptionPanel;
|
||||
|
||||
Reference in New Issue
Block a user