From 619b364352e57b642d19711611898627442c53e5 Mon Sep 17 00:00:00 2001 From: szheng31 Date: Fri, 12 Apr 2024 04:51:58 +0000 Subject: [PATCH] Run Prettier --- components/judges/ScoreInput.tsx | 36 +++++++++++++++++++++++--------- styles/Judge.module.css | 5 ++--- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/components/judges/ScoreInput.tsx b/components/judges/ScoreInput.tsx index c4db15e5..9f59d8b2 100644 --- a/components/judges/ScoreInput.tsx +++ b/components/judges/ScoreInput.tsx @@ -4,7 +4,6 @@ import { IntegerType } from 'mongodb'; import styles from '../../styles/Judge.module.css'; import React from 'react'; - interface ScoreInputProps { value: number; onChange: (value: number | null) => void; @@ -19,15 +18,32 @@ export default function ScoreInput(props: ScoreInputProps) { return ( - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 + + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + diff --git a/styles/Judge.module.css b/styles/Judge.module.css index 380b55a4..918635b1 100644 --- a/styles/Judge.module.css +++ b/styles/Judge.module.css @@ -195,7 +195,6 @@ .CustomRadio { display: flex; flex-direction: column; - align-items: center; + align-items: center; margin-right: 20px; - - } +}