Skip to content

Commit

Permalink
fix: fixed string trim issue
Browse files Browse the repository at this point in the history
  • Loading branch information
beautiful-boyyy authored and JackLian committed Nov 16, 2023
1 parent 349d005 commit 6a0d1e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/renderer-core/src/renderer/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -901,9 +901,6 @@ export default function baseRendererFactory(): IBaseRenderComponent {
});
return checkProps(res);
}
if (typeof props === 'string') {
return checkProps(props.trim());
}
return checkProps(props);
};

Expand Down

0 comments on commit 6a0d1e2

Please sign in to comment.