diff --git a/src/App.tsx b/src/App.tsx index 604ece2..5bfa1f8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -474,7 +474,7 @@ function Stat({ label, value }: { label: string; value: string }) { ); } -function EditorPanel({ actions, children, hint, title }: { actions: ReactNode; children: ReactNode; hint: string; title: string }) { +function EditorPanel({ actions, children, hint, title }: { actions?: ReactNode; children: ReactNode; hint: string; title: string }) { return (
@@ -482,7 +482,7 @@ function EditorPanel({ actions, children, hint, title }: { actions: ReactNode; c

{title}

{hint}

-
{actions}
+ {actions ?
{actions}
: null} {children}