Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw error in development mode when title is not a string
- Loading branch information
1 parent
cad3d70
commit bc01a4c
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bc01a4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brentvatne
Why did you commit this?
My header used
<Image />
and I was surprised to get an error.Is it useless unless it is a string?
bc01a4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should use
headerTitle
instead oftitle
in that case.title
is a string can it can cause problems if that is not the case, thus the warningbc01a4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.It worked.
It is to use properly according to the purpose! Thank you!