Make defaultProps a static property of LogoutDialog
parent
1b87ffb7cb
commit
81b45f8aa9
|
@ -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() {},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue