mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
optional chaining
This commit is contained in:
@@ -14,7 +14,7 @@ import { useRouter } from "next/router";
|
|||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function () {
|
export default function () {
|
||||||
const [spotify, setSpotify] = useState("");
|
const [spotify, setSpotify] = useState("nothing");
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
|
Reference in New Issue
Block a user