refactor(front-end): rename interface

main
Josue 3 years ago committed by Tsu-ba-me
parent c15acf501d
commit d44d035bed
  1. 8
      striker-ui/components/Display/FullSize.tsx

@ -66,7 +66,7 @@ const useStyles = makeStyles(() => ({
},
}));
interface PreviewProps {
interface FullSizeProps {
setMode: Dispatch<SetStateAction<boolean>>;
uuid: string;
serverName: string | string[] | undefined;
@ -77,7 +77,11 @@ interface VncConnectionProps {
forward_port: number;
}
const FullSize = ({ setMode, uuid, serverName }: PreviewProps): JSX.Element => {
const FullSize = ({
setMode,
uuid,
serverName,
}: FullSizeProps): JSX.Element => {
const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
const rfb = useRef<typeof RFB>();
const hostname = useRef<string | undefined>(undefined);

Loading…
Cancel
Save