diff --git a/src/components/ui/APlayer.tsx b/src/components/ui/APlayer.tsx index aa4ccb86..3fcffd6c 100644 --- a/src/components/ui/APlayer.tsx +++ b/src/components/ui/APlayer.tsx @@ -1,3 +1,5 @@ +"use client" + import { APlayer as AplayerReact } from "aplayer-react" import "aplayer-react/dist/index.css" import { memo } from "react" diff --git a/src/components/ui/DPlayer.tsx b/src/components/ui/DPlayer.tsx index 0bd13a72..5c75c615 100644 --- a/src/components/ui/DPlayer.tsx +++ b/src/components/ui/DPlayer.tsx @@ -1,3 +1,5 @@ +"use client" + import { DPlayerProps, Player as RcDPlayer } from "rc-dplayer" import { memo } from "react" import { ReactElement } from "rehype-react/lib"