We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ac730 commit 2d6c583Copy full SHA for 2d6c583
1 file changed
src/ReactSpreadsheetImport.tsx
@@ -24,7 +24,7 @@ export const defaultRSIProps: Partial<RsiProps<any>> = {
24
} as const
25
26
export const ReactSpreadsheetImport = <T extends string>(propsWithoutDefaults: RsiProps<T>) => {
27
- const props = merge(defaultRSIProps, propsWithoutDefaults)
+ const props = merge({}, defaultRSIProps, propsWithoutDefaults)
28
const mergedTranslations =
29
props.translations !== translations ? merge(translations, props.translations) : translations
30
const mergedThemes = props.rtl
0 commit comments