Commit a0a0301 1 parent 4df54d5 commit a0a0301 Copy full SHA for a0a0301
File tree 1 file changed +3
-8
lines changed
electron/renderer/components/game
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const GameTimeDisplay: React.FC<GameTimeDisplayProps> = (
31
31
< div
32
32
style = { {
33
33
position : 'relative' ,
34
- width : '30px ' ,
34
+ width : '100% ' ,
35
35
height : '25px' ,
36
36
margin : 0 ,
37
37
padding : 0 ,
@@ -69,13 +69,7 @@ const GameTimeDisplay: React.FC<GameTimeDisplayProps> = (
69
69
70
70
GameTimeDisplay . displayName = 'GameTimeDisplay' ;
71
71
72
- export interface GameRoundTimeProps {
73
- todo ?: true ;
74
- }
75
-
76
- export const GameRoundTime : React . FC < GameRoundTimeProps > = (
77
- _props : GameRoundTimeProps
78
- ) => {
72
+ export const GameRoundTime : React . FC = ( ) => {
79
73
const { euiTheme } = useEuiTheme ( ) ;
80
74
81
75
const nowInSeconds = useCallback ( ( ) => {
@@ -147,6 +141,7 @@ export const GameRoundTime: React.FC<GameRoundTimeProps> = (
147
141
display : 'flex' ,
148
142
flexDirection : 'column' ,
149
143
gap : '5px' ,
144
+ width : '50px' ,
150
145
} }
151
146
>
152
147
< GameTimeDisplay
You can’t perform that action at this time.
0 commit comments