diff --git a/src/components/ExpandableListItemInput.tsx b/src/components/ExpandableListItemInput.tsx index 7924098..7df9c72 100644 --- a/src/components/ExpandableListItemInput.tsx +++ b/src/components/ExpandableListItemInput.tsx @@ -1,4 +1,4 @@ -import { Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core' +import { Box, Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core' import Collapse from '@material-ui/core/Collapse' import { createStyles, makeStyles, Theme } from '@material-ui/core/styles' import { ChangeEvent, ReactElement, useState } from 'react' @@ -134,31 +134,33 @@ export default function ExpandableListItemKey({ {helperText && {helperText}} - - { - if (onConfirm) onConfirm(inputValue) - }} - > - {confirmLabel || 'Save'} - - setInputValue(value || '')} - cancel - > - Cancel - - + + + { + if (onConfirm) onConfirm(inputValue) + }} + > + {confirmLabel || 'Save'} + + setInputValue(value || '')} + cancel + > + Cancel + + + )