Skip to content

Commit 4a852df

Browse files
committed
Fix bug with config merging
1 parent 3cc74c0 commit 4a852df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bento-design-system/src/BentoConfigContext.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function BentoConfigProvider({
2323
// in case this is the top level provider.
2424
const parentConfig = useBentoConfig();
2525
return (
26-
<BentoConfigContext.Provider value={deepmerge(config, parentConfig)}>
26+
<BentoConfigContext.Provider value={deepmerge(parentConfig, config)}>
2727
{children}
2828
</BentoConfigContext.Provider>
2929
);

0 commit comments

Comments
 (0)