Make defaultProps a static property of LogoutDialog

pull/21833/head
Germain Souquet 2021-08-03 13:44:14 +02:00
parent 1b87ffb7cb
commit 81b45f8aa9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
@replaceableComponent("views.dialogs.LogoutDialog")
export default class LogoutDialog extends React.Component {
defaultProps = {
static defaultProps = {
onFinished: function() {},
};