Skip to content

Commit

Permalink
fix: configure() merges with the global config (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
nstepien authored Sep 13, 2024
1 parent b9c3e0f commit 699bef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ function wrapUiIfNeeded(innerElement: React.ReactNode, wrapperComponent?: React.
: innerElement
}

export function configure(config: Partial<RenderConfiguration>): void {
Object.assign(config, config)
export function configure(customConfig: Partial<RenderConfiguration>): void {
Object.assign(config, customConfig)
}

0 comments on commit 699bef0

Please sign in to comment.