diff options
Diffstat (limited to 'apps/web/src/components/editor/panels/assets/index.tsx')
| -rw-r--r-- | apps/web/src/components/editor/panels/assets/index.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/web/src/components/editor/panels/assets/index.tsx b/apps/web/src/components/editor/panels/assets/index.tsx index bae73299..09d64eed 100644 --- a/apps/web/src/components/editor/panels/assets/index.tsx +++ b/apps/web/src/components/editor/panels/assets/index.tsx @@ -10,16 +10,17 @@ import { SoundsView } from "@/sounds/components/assets-view"; import { StickersView } from "@/stickers/components/assets-view"; import { TextView } from "@/text/components/assets-view"; import { EffectsView } from "@/effects/components/assets-view"; +import { FEATURES } from "@/features"; export function AssetsPanel() { const { activeTab } = useAssetsPanelStore(); const viewMap: Record<Tab, React.ReactNode> = { media: <MediaView />, - sounds: <SoundsView />, + sounds: FEATURES.sounds ? <SoundsView /> : null, text: <TextView />, - stickers: <StickersView />, - effects: <EffectsView />, + stickers: FEATURES.stickers ? <StickersView /> : null, + effects: FEATURES.effects ? <EffectsView /> : null, transitions: ( <div className="text-muted-foreground p-4"> Transitions view coming soon... |
