@@ -6,7 +6,7 @@ import { Asset } from "@/domain/asset/types";
66import { UploadCloud , X } from "lucide-react" ;
77import { cn } from "@/utils" ;
88import { configAtom } from "@/hooks/atoms" ;
9- import { lookCapabilitiesAtom , screenshotAssetAtom , logoAssetAtom } from "@/hooks/atoms/derived" ;
9+ import { layoutCapabilitiesAtom , screenshotAssetAtom , logoAssetAtom } from "@/hooks/atoms/derived" ;
1010import {
1111 Accordion ,
1212 AccordionContent ,
@@ -17,7 +17,7 @@ import { useSidebarState } from "@/hooks/use-sidebar-state";
1717import { ScreenshotSection } from "@/components/sidebar-sections/screenshot-section" ;
1818import { LogoSection } from "@/components/sidebar-sections/logo-section" ;
1919import { BackgroundSection } from "@/components/sidebar-sections/background-section" ;
20- import { LookSection } from "@/components/sidebar-sections/look -section" ;
20+ import { LayoutSection } from "@/components/sidebar-sections/layout -section" ;
2121import { EffectsSection } from "@/components/sidebar-sections/effects-section" ;
2222import { CodeSection } from "@/components/sidebar-sections/code-section" ;
2323
@@ -29,12 +29,12 @@ export const LayoutConfigPanel = ({ onUploadAsset }: LayoutConfigProps) => {
2929 const config = useAtomValue ( configAtom ) ;
3030 const screenshotAsset = useAtomValue ( screenshotAssetAtom ) ;
3131 const logoAsset = useAtomValue ( logoAssetAtom ) ;
32- const lookCapabilities = useAtomValue ( lookCapabilitiesAtom ) ;
32+ const lookCapabilities = useAtomValue ( layoutCapabilitiesAtom ) ;
3333
3434 const { expandedSection, expandSection } = useSidebarState ( ) ;
3535
3636 const showLogoSection = lookCapabilities ?. logo !== "hidden" ;
37- const showCodeSection = config . lookId === "code-snippet" ;
37+ const showCodeSection = config . layoutId === "code-snippet" ;
3838 const showTextSection = ! showCodeSection ;
3939
4040 // Initialize default expansion based on state
@@ -73,7 +73,7 @@ export const LayoutConfigPanel = ({ onUploadAsset }: LayoutConfigProps) => {
7373 </ div >
7474 </ AccordionTrigger >
7575 < AccordionContent className = "px-4 pb-4" >
76- < LookSection />
76+ < LayoutSection />
7777 </ AccordionContent >
7878 </ AccordionItem >
7979 ) }
0 commit comments