I am using useState hook and I have assigned a default value of "single" using the current code:
const [mode, setMode] = useState("single"