From 46f9ba5d8c295454381655e6ec02ad3cf8bd79db Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Fri, 6 Mar 2026 02:18:40 +0900
Subject: style: switch from tab to space indentation in frontend and
 worker/php

Update biome.json indentStyle from "tab" to "space" and reformat all
files in both workspaces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---
 frontend/app/components/Gaming/ScoreBar.tsx | 48 ++++++++++++++---------------
 1 file changed, 24 insertions(+), 24 deletions(-)

(limited to 'frontend/app/components/Gaming/ScoreBar.tsx')

diff --git a/frontend/app/components/Gaming/ScoreBar.tsx b/frontend/app/components/Gaming/ScoreBar.tsx
index 6a291cd..50a2402 100644
--- a/frontend/app/components/Gaming/ScoreBar.tsx
+++ b/frontend/app/components/Gaming/ScoreBar.tsx
@@ -1,30 +1,30 @@
 type Props = {
-	scoreA: number | null;
-	scoreB: number | null;
-	bgA: string;
-	bgB: string;
+  scoreA: number | null;
+  scoreB: number | null;
+  bgA: string;
+  bgB: string;
 };
 
 export default function ScoreBar({ scoreA, scoreB, bgA, bgB }: Props) {
-	let scoreRatio;
-	if (scoreA === null && scoreB === null) {
-		scoreRatio = 50;
-	} else if (scoreA === null) {
-		scoreRatio = 0;
-	} else if (scoreB === null) {
-		scoreRatio = 100;
-	} else {
-		const rawRatio = scoreB / (scoreA + scoreB);
-		const k = 3.0;
-		const emphasizedRatio =
-			Math.pow(rawRatio, k) /
-			(Math.pow(rawRatio, k) + Math.pow(1 - rawRatio, k));
-		scoreRatio = emphasizedRatio * 100;
-	}
+  let scoreRatio;
+  if (scoreA === null && scoreB === null) {
+    scoreRatio = 50;
+  } else if (scoreA === null) {
+    scoreRatio = 0;
+  } else if (scoreB === null) {
+    scoreRatio = 100;
+  } else {
+    const rawRatio = scoreB / (scoreA + scoreB);
+    const k = 3.0;
+    const emphasizedRatio =
+      Math.pow(rawRatio, k) /
+      (Math.pow(rawRatio, k) + Math.pow(1 - rawRatio, k));
+    scoreRatio = emphasizedRatio * 100;
+  }
 
-	return (
-		<div className={`w-full ${bgB}`}>
-			<div className={`h-10 ${bgA}`} style={{ width: `${scoreRatio}%` }}></div>
-		</div>
-	);
+  return (
+    <div className={`w-full ${bgB}`}>
+      <div className={`h-10 ${bgA}`} style={{ width: `${scoreRatio}%` }}></div>
+    </div>
+  );
 }
-- 
cgit v1.3.1

