import React, {useState} from 'react'; export const LoadingTeamsForm = (): JSX.Element => { const [user, setUser] = useState(0); fetch('/api/loadingLegisteredCommands', { method: 'POST'}) .then(res => res.json()) .then(json => setUser(json)) console.log(user) return ( <>
Название команды | Учебное заведение | ФИО участников | Класс |
---|---|---|---|
Фиксики | МАОУ СОШ 103 | Иван, Петр, Дмитрий | 1 |