fix: xterm-addon-fit deprecated (#321)

This commit is contained in:
Meier Lukas
2024-04-09 21:50:35 +02:00
committed by GitHub
parent 669c6c8955
commit e6e6e4e7d6
3 changed files with 14 additions and 20 deletions

View File

@@ -2,8 +2,8 @@
import { useEffect, useRef } from "react";
import { CanvasAddon } from "@xterm/addon-canvas";
import { FitAddon } from "@xterm/addon-fit";
import { Terminal } from "@xterm/xterm";
import { FitAddon } from "xterm-addon-fit";
import { clientApi } from "@homarr/api/client";
import { Box } from "@homarr/ui";