import React, { useEffect } from "react"; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import { useDispatch } from "react-redux"; import { actions, useTypedSelector } from "./store"; import { Link } from "react-router-dom"; const CircleRow = (props: { count: number }) => ( {Array.from(Array(props.count)).map((_, i) => ( ))} ); const CircleGrid = (props: { label: string; columns: string[] }) => (

{props.label}

{props.columns.map((x) => ( ))} {Array.from(Array(props.columns.length)).map((_, i) => ( ))}
{x}
); const App: React.FC = () => { const dispatch = useDispatch(); const { isLoading } = useTypedSelector((state) => ({ isLoading: state.isLoading, })); return ( ); }; export default App;