refactor: rename import
This commit is contained in:
@@ -3,7 +3,7 @@ import { PageTypes } from "@/server/routers/contentstack/breadcrumbs/input"
|
||||
|
||||
import { auth } from "@/auth"
|
||||
import { Blocks } from "@/components/Loyalty/Blocks"
|
||||
import * as LoyaltySidebar from "@/components/Loyalty/Sidebar"
|
||||
import SidebarLoyalty from "@/components/Loyalty/Sidebar"
|
||||
import MaxWidth from "@/components/MaxWidth"
|
||||
import Sidebar from "@/components/MyPages/Sidebar"
|
||||
|
||||
@@ -24,7 +24,7 @@ export default async function LoyaltyPage({ lang }: LangParams) {
|
||||
{session ? (
|
||||
<Sidebar lang={lang} />
|
||||
) : loyaltyPage.sidebar.length ? (
|
||||
<LoyaltySidebar.default blocks={loyaltyPage.sidebar} />
|
||||
<SidebarLoyalty blocks={loyaltyPage.sidebar} />
|
||||
) : null}
|
||||
|
||||
<MaxWidth className={styles.blocks} tag="main">
|
||||
|
||||
Reference in New Issue
Block a user