From 35f7b8ab5f190cc9dca489f73d3b2cbde1b2c4a5 Mon Sep 17 00:00:00 2001 From: Jandson Vitorino <101944851+jandsonrj@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:48:01 -0300 Subject: [PATCH] correction of card layout (#830) --- frontend/src/pages/PredictionEvents/Detail.js | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/frontend/src/pages/PredictionEvents/Detail.js b/frontend/src/pages/PredictionEvents/Detail.js index ef687887..06b6ac20 100644 --- a/frontend/src/pages/PredictionEvents/Detail.js +++ b/frontend/src/pages/PredictionEvents/Detail.js @@ -1,12 +1,10 @@ import React, { useEffect, useState } from 'react'; import moment from 'moment'; import { useParams } from 'react-router-dom' -import { - Grid, - Card, - CardHeader, - CardContent -} from '@material-ui/core'; +import Grid from '@mui/material/Grid'; +import Card from '@mui/material/Card'; +import CardHeader from '@mui/material/CardHeader'; +import CardContent from '@mui/material/CardContent' import Box from '@mui/material/Box'; import List from '../../components/List'; @@ -255,7 +253,7 @@ function PredictionEventDetail() { <> - + @@ -270,7 +268,7 @@ function PredictionEventDetail() { )} - + @@ -278,7 +276,7 @@ function PredictionEventDetail() { - + @@ -292,12 +290,12 @@ function PredictionEventDetail() { - {occultation?.id !== undefined && ( - - ) } + ) }