fix: use resolvedTheme

This commit is contained in:
Anirudh 2025-01-07 04:16:05 +00:00
parent 49d0690081
commit 250fb45cb9

View File

@ -22,7 +22,7 @@ export default function EditorTerminal({
setTerm: (term: Terminal) => void setTerm: (term: Terminal) => void
visible: boolean visible: boolean
}) { }) {
const { theme } = useTheme() const { resolvedTheme: theme } = useTheme()
const terminalContainerRef = useRef<ElementRef<"div">>(null) const terminalContainerRef = useRef<ElementRef<"div">>(null)
const fitAddonRef = useRef<FitAddon | null>(null) const fitAddonRef = useRef<FitAddon | null>(null)