The debounceRef in MarkdownContent was missing an explicit initial value, which is safer and clearer when dealing with useRef for timeouts. By initializing it with null, we ensure better type safety and avoid relying on the default undefined value, aligning with modern React and TypeScript best practices. TypeScript useRef error

Fix: Explicitly initialize debounceRef with null - subh05sus/cosmyc-ai