"use client"; import { useContext } from "react"; import { DanmuContext } from "./provider"; export default function CurrentInput() { const state = useContext(DanmuContext); return (
{state.songName ?? ""} {state.songId ? "-" : ""} {state.songArtist ?? ""}
); }