Skip to content

Commit

Permalink
Create a marker as a default instance directly instead of using the `…
Browse files Browse the repository at this point in the history
…render` function.
  • Loading branch information
Kapelianovych committed Apr 28, 2024
1 parent bec278e commit 2808a7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/moru/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ const renderNonCached = (
isHydrating,
) => {
if (isGetter(node)) {
const marker = render(
options,
passedContext,
const marker = options.createDefaultInstance(
parent,
null,
position,
Expand Down

0 comments on commit 2808a7f

Please sign in to comment.