Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
fix: fix wrong option name for backImage
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Jan 12, 2020
1 parent 20815c5 commit 6f3b673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validateDeprecatedOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const validations: Validation[] = [
updated: 'headerTitle: () => <SomeElement />',
compat: o => ({ ...o, headerTitle: () => o.headerTitle }),
},
...['headerLeft', 'headerRight', 'headerBackground', 'backImage'].map(
...['headerLeft', 'headerRight', 'headerBackground', 'headerBackImage'].map(
(p): Validation => ({
check: (o: any) => o[p] !== undefined && typeof o[p] !== 'function',
deprecated: `${p}: <SomeElement />`,
Expand Down

0 comments on commit 6f3b673

Please sign in to comment.