Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Remove unused using

support556fea297c42
diff --git a/src/Plugins/Authentication.Facebook/Views/Shared/Components/FacebookAuthentication/Default.cshtml b/src/Plugins/Authentication.Facebook/Views/Shared/Components/FacebookAuthentication/Default.cshtml
index 1080886a0..fb591d647 100644
--- a/src/Plugins/Authentication.Facebook/Views/Shared/Components/FacebookAuthentication/Default.cshtml
+++ b/src/Plugins/Authentication.Facebook/Views/Shared/Components/FacebookAuthentication/Default.cshtml
@@ -1,5 +1,4 @@
-@using Grand.Web.Common.Page
-@{
+@{
Layout = "";
}
<link rel="stylesheet" type="text/css" asp-src="/Plugins/Authentication.Facebook/Assets/facebookstyles.css" />
diff --git a/src/Plugins/Authentication.Google/Views/Shared/Components/GoogleAuthentication/Default.cshtml b/src/Plugins/Authentication.Google/Views/Shared/Components/GoogleAuthentication/Default.cshtml
index ce6894edd..d00254cfe 100644
--- a/src/Plugins/Authentication.Google/Views/Shared/Components/GoogleAuthentication/Default.cshtml
+++ b/src/Plugins/Authentication.Google/Views/Shared/Components/GoogleAuthentication/Default.cshtml
@@ -1,5 +1,4 @@
-@using Grand.Web.Common.Page
-@{
+@{
Layout = "";
}
<link rel="stylesheet" type="text/css" asp-src="/Plugins/Authentication.Google/Assets/googlestyles.css" />
diff --git a/src/Plugins/Payments.CashOnDelivery/Areas/Admin/Views/PaymentCashOnDelivery/Configure.cshtml b/src/Plugins/Payments.CashOnDelivery/Areas/Admin/Views/PaymentCashOnDelivery/Configure.cshtml
index 19355194e..040a3f402 100644
--- a/src/Plugins/Payments.CashOnDelivery/Areas/Admin/Views/PaymentCashOnDelivery/Configure.cshtml
+++ b/src/Plugins/Payments.CashOnDelivery/Areas/Admin/Views/PaymentCashOnDelivery/Configure.cshtml
@@ -3,7 +3,6 @@
}
@model ConfigurationModel
@using Microsoft.AspNetCore.Mvc.Razor;
-@using Grand.Web.Common;
@using Payments.CashOnDelivery.Models;
@await Component.InvokeAsync("StoreScope")
<input id="active-menu-item" type="hidden" value="/Admin/Payment/Methods" />
diff --git a/src/Plugins/Widgets.GoogleAnalytics/Components/WidgetsGoogleAnalyticsViewComponent.cs b/src/Plugins/Widgets.GoogleAnalytics/Components/WidgetsGoogleAnalyticsViewComponent.cs
index 99b594e9a..11ab6339b 100644
--- a/src/Plugins/Widgets.GoogleAnalytics/Components/WidgetsGoogleAnalyticsViewComponent.cs
+++ b/src/Plugins/Widgets.GoogleAnalytics/Components/WidgetsGoogleAnalyticsViewComponent.cs
@@ -4,7 +4,6 @@ using Grand.Business.Core.Interfaces.Checkout.Orders;
using Grand.Business.Core.Interfaces.Cms;
using Grand.Business.Core.Interfaces.Common.Directory;
using Grand.Business.Core.Interfaces.Common.Logging;
-using Grand.Domain.Catalog;
using Grand.Domain.Logging;
using Grand.Domain.Orders;
using Grand.Infrastructure;
diff --git a/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Create.cshtml b/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Create.cshtml
index 405c9be6a..75234de5d 100644
--- a/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Create.cshtml
+++ b/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Create.cshtml
@@ -1,5 +1,4 @@
-@using Widgets.Slider.Models
-@model SlideModel
+@model SlideModel
@{
//page title
ViewBag.Title = Loc["Widgets.Slider.AddNew"];
diff --git a/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Edit.cshtml b/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Edit.cshtml
index ce9b9896c..71dad8fc9 100644
--- a/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Edit.cshtml
+++ b/src/Plugins/Widgets.Slider/Areas/Admin/Views/WidgetsSlider/Edit.cshtml
@@ -1,5 +1,4 @@
-@using Widgets.Slider.Models
-@model SlideModel
+@model SlideModel
@{
//page title
ViewBag.Title = Loc["Widgets.Slider.Edit"];