Skip to content

Commit

Permalink
[desk-tool] Make onHistoryStatusClick optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Nov 19, 2019
1 parent 8f149d7 commit 5b4f4d4
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -107,7 +107,7 @@ DocumentStatusBar.propTypes = {
isDisconnected: PropTypes.bool,
isHistoryAvailable: PropTypes.bool,
isSyncing: PropTypes.bool,
onHistoryStatusClick: PropTypes.func.isRequired
onHistoryStatusClick: PropTypes.func
}

DocumentStatusBar.defaultProps = {
Expand All @@ -116,7 +116,8 @@ DocumentStatusBar.defaultProps = {
historyStatus: undefined,
isDisconnected: false,
isHistoryAvailable: false,
isSyncing: false
isSyncing: false,
onHistoryStatusClick: undefined
}

export default DocumentStatusBar

0 comments on commit 5b4f4d4

Please sign in to comment.