Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Nov 26, 2024
1 parent 4cd54b1 commit ae85abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TransWithoutContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export function Trans({
if (components) {
Object.keys(components).forEach((c) => {
const componentKey = components[c].key || c;
const comp = cloneElement(components[c], { key: componentKey });
const comp = cloneElement(components[c], { key: componentKey });
if (
typeof comp.type === 'function' ||
!comp.props ||
Expand Down

0 comments on commit ae85abb

Please sign in to comment.