diff --git a/src/components/editor/Toolbar.tsx b/src/components/editor/Toolbar.tsx index 24fa6e7..213db07 100644 --- a/src/components/editor/Toolbar.tsx +++ b/src/components/editor/Toolbar.tsx @@ -1,5 +1,6 @@ 'use client' +import Link from 'next/link' import type { ConnectionState, PresenceUser } from '@/lib/collaboration/realtime' import PresenceAvatars from './PresenceAvatars' @@ -8,6 +9,7 @@ type ToolbarProps = { onAddChoice: () => void onAddVariable: () => void onSave: () => void + isSaving?: boolean onExport: () => void onExportRenpy: () => void onImport: () => void @@ -36,6 +38,7 @@ export default function Toolbar({ onAddChoice, onAddVariable, onSave, + isSaving, onExport, onExportRenpy, onImport, @@ -47,6 +50,15 @@ export default function Toolbar({ return (