fix: fix wrong option name for backImage

This commit is contained in:
Satyajit Sahoo
2020-01-12 15:51:59 +01:00
parent 787279091b
commit c8ddec72a6

View File

@@ -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 />`,