fix: error on duplicate partial name (#1958)
This commit is contained in:
@@ -39,6 +39,7 @@ export class RenderState {
|
||||
#nonce = "";
|
||||
error: Error | null = null;
|
||||
isPartial: boolean;
|
||||
encounteredPartials = new Set<string>();
|
||||
partialCount = 0;
|
||||
partialDepth = 0;
|
||||
islandDepth = 0;
|
||||
@@ -71,5 +72,6 @@ export class RenderState {
|
||||
this.renderingUserTemplate = false;
|
||||
this.ownerStack = [];
|
||||
this.owners.clear();
|
||||
this.encounteredPartials.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user