optional chaining

This commit is contained in:
skidoodle 2022-10-09 00:15:20 +02:00
parent f18851443e
commit f5987b71a6

View file

@ -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(() => {