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

Commit 6f3b673

Browse files
committed
fix: fix wrong option name for backImage
1 parent 20815c5 commit 6f3b673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/validateDeprecatedOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const validations: Validation[] = [
9090
updated: 'headerTitle: () => <SomeElement />',
9191
compat: o => ({ ...o, headerTitle: () => o.headerTitle }),
9292
},
93-
...['headerLeft', 'headerRight', 'headerBackground', 'backImage'].map(
93+
...['headerLeft', 'headerRight', 'headerBackground', 'headerBackImage'].map(
9494
(p): Validation => ({
9595
check: (o: any) => o[p] !== undefined && typeof o[p] !== 'function',
9696
deprecated: `${p}: <SomeElement />`,

0 commit comments

Comments
 (0)