Make defaultProps a static property of LogoutDialog
This commit is contained in:
parent
1b87ffb7cb
commit
81b45f8aa9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue