mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07: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:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user