consolidate Clone logic for Resource objects

This commit is contained in:
sbwalker
2024-03-08 19:33:09 -05:00
parent 7f74e79253
commit 8e287da7b5
7 changed files with 53 additions and 38 deletions

View File

@ -71,7 +71,7 @@
if (ModuleType != null)
{
// repopulate the SiteState service based on the values passed in the SiteState parameter (this is how state is marshalled across the render mode boundary)
ComponentSiteState.Clone(SiteState);
ComponentSiteState.Hydrate(SiteState);
DynamicComponent = builder =>
{