Skip to content

FullscreenViewer 组件提示水合错误 hydration error #154

@qwasfun

Description

@qwasfun

FullscreenViewer 使用div标签,渲染时嵌在了文章内容 p 元素里,开发调试时,控制台会提示

In HTML, <div> cannot be a descendant of <p>.
This will cause a hydration error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions