added entrypoint
2 files changed, +4 -1
+3-0entrypoint.sh
| @@ -0,0 +1,3 @@ | ||
| 1 | +#!/bin/bash | |
| 2 | +npm install | |
| 3 | +npm run build |
+1-1src/components/Card.tsx
| @@ -16,7 +16,7 @@ const Card = (props: Props) => { | ||
| 16 | 16 | const [seconds, setSeconds] = useState(0); |
| 17 | 17 | |
| 18 | 18 | const nextGame = () => { |
| 19 | - return games[1]; | |
| 19 | + return games[0]; | |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | 22 | const game = nextGame(); |