Skip to content

Commit c657755

Browse files
ofriwclaude
andcommitted
Add AbstractShapesVisualization to RevealSlideshow and filter empty bullets
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2161e69 commit c657755

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/src/components/PresentationMode/RevealSlideshow.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import UShapeAttentionCurve from '../VisualElements/UShapeAttentionCurve';
1010
import WorkflowCircle from '../VisualElements/WorkflowCircle';
1111
import GroundingComparison from '../VisualElements/GroundingComparison';
1212
import ContextWindowMeter from '../VisualElements/ContextWindowMeter';
13+
import AbstractShapesVisualization from '../VisualElements/AbstractShapesVisualization';
1314

1415
interface SpeakerNotes {
1516
talkingPoints: string;
@@ -64,6 +65,7 @@ const VISUAL_COMPONENTS = {
6465
WorkflowCircle,
6566
GroundingComparison,
6667
ContextWindowMeter,
68+
AbstractShapesVisualization,
6769
};
6870

6971
export default function RevealSlideshow({ presentation, onClose }: RevealSlideshowProps) {
@@ -177,7 +179,7 @@ export default function RevealSlideshow({ presentation, onClose }: RevealSlidesh
177179
<h2>{slide.title}</h2>
178180
{slide.content && (
179181
<ul className={styles.bulletList}>
180-
{slide.content.map((item, i) => (
182+
{slide.content.filter(item => item.trim() !== '').map((item, i) => (
181183
<li key={i} className="fragment">{item}</li>
182184
))}
183185
</ul>

0 commit comments

Comments
 (0)