"use client";

import { useContext } from "react";
import { DanmuContext } from "./provider";

export default function CurrentInput() {
  const state = useContext(DanmuContext);
  return (
    <div className="input">
      {state.songName ?? ""} {state.songId ? "-" : ""} {state.songArtist ?? ""}
    </div>
  );
}
