// import React from 'react'; // import './style.css' // import styled from 'styled-components'; // // import { HttpApiMethods } from '../utils/FetchUtils'; // import {useState} from 'react' // import EditForm from '../post/Meets'; // import Grid from '@mui/material/Grid'; // import Card from '../Card'; // import Box from '@mui/material/Box'; // function extractDateTime(dateString) { // const dateTime = new Date(dateString); // const date = dateTime.toLocaleDateString(); // const time = dateTime.toLocaleTimeString(); // return { date, time }; // } // const httpApiMethods = new HttpApiMethods() // const meets = await httpApiMethods.GetMeetings() // const Home = () => { // const [count, setCount] = useState(7) // const filterMeet = meets.filter( (item, index) => index <= count ) // const allMeets = () => { // setCount(meets.length) // } // return ( // <> // // // {Array.isArray(meets) ? ( // filterMeet.map((item, index) => ( // //
//
{item.speackerImage}
//
//
{item.tags}
//
{item.type}
//
//

{item.title}

//

{extractDateTime(item.time).date}, в {extractDateTime(item.time).time} по Московскому времени

//
//
// )) // ) : ( //

Неверный тип данных с сервера!

// )} // {/* */} //
//
//
// //
// // ); // } // export default Home;