调整封装评论插件

This commit is contained in:
tlyong1992
2022-05-27 15:56:04 +08:00
parent cf5786baf0
commit 55c7b018d0
4 changed files with 54 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ import { useRouter } from 'next/router'
* @param {*} props
* @returns
*/
export const WalineComponent = (props) => {
const WalineComponent = (props) => {
const walineInstanceRef = React.useRef(null)
const containerRef = React.createRef()
const router = useRouter()
@@ -32,3 +32,5 @@ export const WalineComponent = (props) => {
return <div ref={containerRef} />
}
export default WalineComponent