Skip to content

style: format code with Prettier and StandardJS#919

Closed
deepsource-autofix[bot] wants to merge 1 commit intomainfrom
deepsource-transform-c9d38de4
Closed

style: format code with Prettier and StandardJS#919
deepsource-autofix[bot] wants to merge 1 commit intomainfrom
deepsource-transform-c9d38de4

Conversation

@deepsource-autofix
Copy link
Copy Markdown
Contributor

This commit fixes the style issues introduced in 3635a87 according to the output
from Prettier and StandardJS.

Details: None

This commit fixes the style issues introduced in 3635a87 according to the output
from Prettier and StandardJS.

Details: None
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pro-react-admin Ready Ready Preview, Comment Dec 29, 2025 7:30am

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented Dec 29, 2025

PR摘要

  • 更新SvgPreview组件
    • 修改函数参数格式,从function SvgPreview({ ... }) 更改为 function SvgPreview ({ ... }).
    • 为了保持一致性,特别是背景属性,增加了一个换行符。
  • SvgPreview中修改了role和aria-label属性
    • 将双引号更改为单引号。
  • 更新SvgComponent的渲染方式,采用细线格式化的三元表达式。
  • SvgPreview中标准化按钮类型属性
    • 从双引号更改为单引号。
  • 调整了SvgViewer页面
    • SVG_SOURCE初始化从反引号更改为单引号。
    • FixTabPanel属性fill={true}更新为fill
    • TextCard组件的标题和文本设置为单引号以保持一致性。
  • 清理Card组件中的样式,用单引号替换。

以上更改目的在于提高代码的可读性和一致性,使得开发者更易于理解和维护代码。

@sonarqubecloud
Copy link
Copy Markdown

@wkylin wkylin closed this Dec 30, 2025
@wkylin wkylin deleted the deepsource-transform-c9d38de4 branch December 30, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant