I cloned Search Results Component and when I edit any thing in cshtml inside else scope
<div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? "search-results testShaimaa", Model.Attributes) data-class-variant="@variantClass" data-properties='@Model.JsonDataProperties'>
@if (WebUtil.GetQueryString(Sitecore.XA.Feature.Search.Constants.CreativeExchangeExport) != "true")
{
<div class="component-content">
@Model.MessageIsEmpty
<div class="no-results" style="display: @Model.StyleDisplay">
@Html.Sxa().Field("ResultsNotFoundText", Model.DataSourceItem, !Model.IsControlEditable)
@Html.Sxa().Field("Text", Model.Item, !Model.IsControlEditable)
</div>
<div class="progress"></div>
</div>
}
else
{
<div>ssss</div>
<div>ssss</div>
<ul class="search-result-list testShaimaa">
<li>
@foreach (BaseVariantField variantField in Model.VariantFields)
{
@Html.RenderingVariants().RenderVariant(variantField, Model.PageItem, true, Model)
}
</li>
</ul>
}
does not reflect in the page but when I edit before If it reflects in the page so I am sure that this the correct cshtml file for this cloned search result rendering, I think that caching but I changed variant and cloned another one.
Any Ideas Why this happens and how my changes reflects in the page ??