Commit 61c13c53 by liimin

style(ValidationStats): 格式化 finalStats 变量赋值

1 parent c36c0477
Pipeline #315 for 61c13c53 failed in 0 seconds
...@@ -150,7 +150,8 @@ const defaultStats: StatItem[] = [ ...@@ -150,7 +150,8 @@ const defaultStats: StatItem[] = [
]; ];
export function ValidationStats({ stats, checkResult }: ValidationStatsProps) { export function ValidationStats({ stats, checkResult }: ValidationStatsProps) {
const finalStats: StatItem[] = stats ?? (checkResult ? buildStatsFromCheckResult(checkResult) : defaultStats); const finalStats: StatItem[] =
stats ?? (checkResult ? buildStatsFromCheckResult(checkResult) : defaultStats);
return ( return (
<div <div
style={{ style={{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!