const deleteInputHandler = (index: number) => { setInputBox((prev) => [...prev].filter((_, i) => index !== i)); };