diff --git a/src/app/html/store/ads/[slug]/adedit.tsx b/src/app/html/store/ads/[slug]/adedit.tsx
index ddaaf43..bbb9723 100644
--- a/src/app/html/store/ads/[slug]/adedit.tsx
+++ b/src/app/html/store/ads/[slug]/adedit.tsx
@@ -6,7 +6,7 @@ import React from 'react';
import type { AdsEditorProps } from '@/containers/AdEditor/adeditor.html';
import AdsEditorHtml from '@/containers/AdEditor/adeditor.html';
-const AdEditorPage = async (props: AdsEditorProps) => {
+const AdEditorPage = (props: AdsEditorProps) => {
return (
diff --git a/src/components/sidebarHTML/SideBar.tsx b/src/components/sidebarHTML/SideBar.tsx
index dd4aaa5..bf4f757 100644
--- a/src/components/sidebarHTML/SideBar.tsx
+++ b/src/components/sidebarHTML/SideBar.tsx
@@ -77,9 +77,10 @@ export const VerticalSideBar = ({
const pathnames = pathname.split('/');
+ // eslint-disable-next-line react/no-unstable-nested-components
const NavItem = (item: IMenu) => {
const menuItems = item.menu as MenuItemProps[];
- const slugend = item.slug.split('/').pop();
+ const slugend = item.slug.split('/').pop() || '';
const isOpened = pathnames.includes(slugend);
return (
@@ -153,7 +154,10 @@ export const VerticalSideBar = ({
>
{menuItems.map((subitem) => {
return (
-
+