style(math-sprint): apply Biome formatting
**Changes**: Auto-formatting from Biome formatter. - Provider: Multi-line formatting for useArcadeSession call - SetupPhase: Multi-line formatting for long className No logic changes, purely stylistic. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -92,13 +92,14 @@ export function MathSprintProvider({ children }: { children: ReactNode }) {
|
||||
)
|
||||
|
||||
// Arcade session integration
|
||||
const { state, sendMove, exitSession, lastError, clearError } =
|
||||
useArcadeSession<MathSprintState>({
|
||||
const { state, sendMove, exitSession, lastError, clearError } = useArcadeSession<MathSprintState>(
|
||||
{
|
||||
userId: viewerId || '',
|
||||
roomId: roomData?.id,
|
||||
initialState,
|
||||
applyMove: (state) => state, // Server handles all state updates
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
// Action: Start game
|
||||
const startGame = useCallback(() => {
|
||||
|
||||
@@ -137,7 +137,9 @@ export function SetupPhase() {
|
||||
width: '100%',
|
||||
})}
|
||||
/>
|
||||
<div className={css({ display: 'flex', justifyContent: 'space-between', fontSize: 'xs' })}>
|
||||
<div
|
||||
className={css({ display: 'flex', justifyContent: 'space-between', fontSize: 'xs' })}
|
||||
>
|
||||
<span>5</span>
|
||||
<span>10</span>
|
||||
<span>15</span>
|
||||
|
||||
Reference in New Issue
Block a user