Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps

[SK-3] Decorate easy components with replaceableComponent
This commit is contained in:
Travis Ralston 2021-03-11 07:26:20 -07:00 committed by GitHub
commit 229a95f190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
296 changed files with 595 additions and 8 deletions

View file

@ -30,6 +30,7 @@ import {
PHASE_CONFIRM_SKIP,
PHASE_FINISHED,
} from '../../../stores/SetupEncryptionStore';
import {replaceableComponent} from "../../../utils/replaceableComponent";
function keyHasPassphrase(keyInfo) {
return (
@ -39,6 +40,7 @@ function keyHasPassphrase(keyInfo) {
);
}
@replaceableComponent("structures.auth.SetupEncryptionBody")
export default class SetupEncryptionBody extends React.Component {
static propTypes = {
onFinished: PropTypes.func.isRequired,