From cd75e403ba17abb4bff00072a728d64843403506 Mon Sep 17 00:00:00 2001 From: Thibault Reidy Date: Wed, 11 Oct 2023 10:01:56 +0200 Subject: [PATCH] fix(style): remove useless Grid components in ThumbnailSettings view #706 --- .../item/settings/ThumbnailSetting.tsx | 63 +++++++++---------- 1 file changed, 29 insertions(+), 34 deletions(-) diff --git a/src/components/item/settings/ThumbnailSetting.tsx b/src/components/item/settings/ThumbnailSetting.tsx index 180426b16..30bc3f96a 100644 --- a/src/components/item/settings/ThumbnailSetting.tsx +++ b/src/components/item/settings/ThumbnailSetting.tsx @@ -1,7 +1,6 @@ import { FormEventHandler, useEffect, useRef, useState } from 'react'; import { Stack } from '@mui/material'; -import Grid from '@mui/material/Grid'; import Typography from '@mui/material/Typography'; import { ItemType } from '@graasp/sdk'; @@ -124,39 +123,35 @@ const ThumbnailSetting = ({ item }: Props): JSX.Element | null => { )} - - - {translateBuilder(BUILDER.SETTINGS_THUMBNAIL_TITLE)} - - - {translateBuilder(BUILDER.SETTINGS_THUMBNAIL_SETTINGS_INFORMATIONS)} - - - - - - + + {translateBuilder(BUILDER.SETTINGS_THUMBNAIL_TITLE)} + + + {translateBuilder(BUILDER.SETTINGS_THUMBNAIL_SETTINGS_INFORMATIONS)} + + + {fileSource && (