Coding-Coach / Coding-Coach/coding-coach

Repeated id (<title id="title">...</title>

未关闭
#435 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
452
派生
157
PR 合并指标
30 天内没有已合并 PR

描述

There is a repeated id in your page, the id="title". According to what we have seen this happens because you are placing it in the return of your Icon function which is bequeathing it to all generated SVGs. (src/components/Icon/index.js, line 28)

We tried fixing it but we are unable to deploy the page, so we didn't want to leave you with additional issues in your code.

We hope this will be of help!

贡献指南

打开贡献指南

调研方向

打开 src/components/Icon/index.js 第 28 行,检查 Icon 函数如何将 id="title" 添加到生成的 SVG 中。重新生成或检查渲染后的页面,以确认存在重复的 ID,然后验证更改后页面不包含重复的 title ID。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。