mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
fix: type mismatch in userinput modal
A null was used in a place where a string should have been. It has been updated to a string to remove the error associated with it.
This commit is contained in:
parent
903b26bfca
commit
187509504d
@ -7,7 +7,7 @@ import { UserInputRequest } from "../../../types/types";
|
||||
import "./userinput.less";
|
||||
|
||||
export const UserInputModal = (userInputRequest: UserInputRequest) => {
|
||||
const [responseText, setResponseText] = React.useState(null);
|
||||
const [responseText, setResponseText] = React.useState("");
|
||||
const [countdown, setCountdown] = React.useState(Math.floor(userInputRequest.timeoutms / 1000));
|
||||
|
||||
const closeModal = React.useCallback(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user