mirror of
https://github.com/skidoodle/albert.lol.git
synced 2026-04-28 03:07:40 +02:00
optional chaining
This commit is contained in:
+1
-1
@@ -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