Skip to content

Commit 0a06666

Browse files
committed
Set width and height of seats to 10x10px
1 parent 1a5efea commit 0a06666

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

frontend/src/use-cases/ticket/ScreenSeats.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ export const ScreenSeats = ({ ticketRange, seatMap }) => {
2323
const maxWidth = Math.min(window.innerWidth - 80, 464);
2424
const maxHeight = maxWidth * heightRatio;
2525

26-
const [
27-
{
28-
dimensions: { width, height }
29-
}
30-
] = seatMap;
26+
const width = 10;
27+
const height = 10;
3128

3229
const minY = minBy(seatMap, s => s.coordinates.y).coordinates.y;
3330

0 commit comments

Comments
 (0)