fix(frontend): resolve TypeScript compiler errors in WorkspaceView and types
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m0s

This commit is contained in:
sandrodach committed 2026-10-26 15:39:30 +01:00
1 parent 58f02e0927
commit 53e1ba322d
2 files changed
+5 -1

No files matched your search

@@ -449,7 +449,8 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
} catch {}
};
const handleBlockFocus = (blockId?: string) => {
const handleBlockFocus = (blockIdOrEvent?: string | React.FocusEvent<any>) => {
const blockId = typeof blockIdOrEvent === 'string' ? blockIdOrEvent : undefined;
isEditorFocusedRef.current = true;
if (idleUnlockTimerRef.current) {
clearTimeout(idleUnlockTimerRef.current);