diff options
Diffstat (limited to 'frontend/src/routes/golf/play/apps/Gaming.tsx')
| -rw-r--r-- | frontend/src/routes/golf/play/apps/Gaming.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/routes/golf/play/apps/Gaming.tsx b/frontend/src/routes/golf/play/apps/Gaming.tsx index ffabfa6..9be39c8 100644 --- a/frontend/src/routes/golf/play/apps/Gaming.tsx +++ b/frontend/src/routes/golf/play/apps/Gaming.tsx @@ -8,7 +8,7 @@ type Props = { score: number | null; }; -export default ({ problem, onCodeChange, score }: Props) => { +export default function Gaming({ problem, onCodeChange, score }: Props) { const handleTextChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => { onCodeChange({ code: e.target.value }); }; @@ -27,4 +27,4 @@ export default ({ problem, onCodeChange, score }: Props) => { </div> </div> ); -}; +} |
