Skip to content

Commit

Permalink
[sitecore-jss-nextjs] Remove variantId from query consideration in Co…
Browse files Browse the repository at this point in the history
…mp Library
  • Loading branch information
art-alexeyenko committed Dec 18, 2024
1 parent 1060868 commit cd2125e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ describe('EditingRenderMiddleware', () => {
pageState: 'normal',
mode: 'library',
dataSourceId: query.sc_datasourceId,
variant: query.sc_variant,
version: query.sc_version,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ export class MetadataHandler {
pageState: LayoutServicePageState.Normal,
mode: 'library',
dataSourceId: query.sc_datasourceId,
variant: query.sc_variant || DEFAULT_VARIANT,
version: query.sc_version,
} as ComponentLibraryRenderPreviewData,
{
Expand Down

0 comments on commit cd2125e

Please sign in to comment.