The source code is here.
import React, { useState } from "react";
import ReactDOM from "react-dom";
function App() {
const [seat_array, setSeat_array] = useState(
[
[0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0, 0]
]
);
const [current_input, setCurrent_input]
…
Top comments (0)