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 { auth } from "@/auth"
|
||||||
import { Blocks } from "@/components/Loyalty/Blocks"
|
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 MaxWidth from "@/components/MaxWidth"
|
||||||
import Sidebar from "@/components/MyPages/Sidebar"
|
import Sidebar from "@/components/MyPages/Sidebar"
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ export default async function LoyaltyPage({ lang }: LangParams) {
|
|||||||
{session ? (
|
{session ? (
|
||||||
<Sidebar lang={lang} />
|
<Sidebar lang={lang} />
|
||||||
) : loyaltyPage.sidebar.length ? (
|
) : loyaltyPage.sidebar.length ? (
|
||||||
<LoyaltySidebar.default blocks={loyaltyPage.sidebar} />
|
<SidebarLoyalty blocks={loyaltyPage.sidebar} />
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<MaxWidth className={styles.blocks} tag="main">
|
<MaxWidth className={styles.blocks} tag="main">
|
||||||
|
|||||||
Reference in New Issue
Block a user