Skip to content

Commit

Permalink
Pass default as null to the children argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jul 18, 2023
1 parent 8fe414a commit d7c1fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/HeaderWithBackButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function HeaderWithBackButton({
horizontal: 0,
},
threeDotsMenuItems = [],
children,
children = null,
}) {
const [isDownloadButtonActive, temporarilyDisableDownloadButton] = useThrottledButtonState();
const {translate} = useLocalize();
Expand Down

0 comments on commit d7c1fcd

Please sign in to comment.