From f5987b71a62b54d0062413d5a88fbe5bb534c3c7 Mon Sep 17 00:00:00 2001 From: skidoodle Date: Sun, 9 Oct 2022 00:15:20 +0200 Subject: [PATCH] optional chaining --- pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.tsx b/pages/index.tsx index 62cce40..8e9e20c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -14,7 +14,7 @@ import { useRouter } from "next/router"; import { useState } from "react"; export default function () { - const [spotify, setSpotify] = useState(""); + const [spotify, setSpotify] = useState("nothing"); useEffect(() => { const interval = setInterval(() => {