diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
| commit | 14bbc483fdb338c8e55e77f267ecf0d51415549b (patch) | |
| tree | 6e9130c2c1f76da25c825090bb59220ecf60d971 /frontend/src/routes/golf/play/apps/Gaming.tsx | |
| parent | d3107cdf9bafbebc4a9cdd6ab91869f8086b3246 (diff) | |
| download | phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.gz phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.zst phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.zip | |
prettier
Diffstat (limited to 'frontend/src/routes/golf/play/apps/Gaming.tsx')
| -rw-r--r-- | frontend/src/routes/golf/play/apps/Gaming.tsx | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/frontend/src/routes/golf/play/apps/Gaming.tsx b/frontend/src/routes/golf/play/apps/Gaming.tsx index 27488e3..ffabfa6 100644 --- a/frontend/src/routes/golf/play/apps/Gaming.tsx +++ b/frontend/src/routes/golf/play/apps/Gaming.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; type Props = { gameId: number; @@ -14,18 +14,14 @@ export default ({ problem, onCodeChange, score }: Props) => { }; return ( - <div style={{ display: 'flex' }}> - <div style={{ flex: 1, padding: '10px', borderRight: '1px solid #ccc' }}> - <div> - {problem} - </div> - <div> - {score == null ? 'Score: -' : `Score: ${score} byte`} - </div> + <div style={{ display: "flex" }}> + <div style={{ flex: 1, padding: "10px", borderRight: "1px solid #ccc" }}> + <div>{problem}</div> + <div>{score == null ? "Score: -" : `Score: ${score} byte`}</div> </div> - <div style={{ flex: 1, padding: '10px' }}> + <div style={{ flex: 1, padding: "10px" }}> <textarea - style={{ width: '100%', height: '100%' }} + style={{ width: "100%", height: "100%" }} onChange={handleTextChange} /> </div> |
