Skip to content

Commit

Permalink
[perf] reshapeListing - no cloneDeep
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Jan 30, 2025
1 parent d0a54a0 commit ae13857
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ export function reshapeListing(
listing: Listing,
format: Format,
): ReshapedListing {
const reshaped = cloneDeep(listing) as Listing;
const reshaped = {
...listing,
} as Listing;

// Add template utilities
const utilities = {} as Record<string, unknown>;
Expand Down

0 comments on commit ae13857

Please sign in to comment.