Skip to content

Commit

Permalink
fix(mui): improve chat room styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Dec 17, 2023
1 parent d63e182 commit 8a2c2e0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/ChatRoom/ChatRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Dialog from '@mui/material/Dialog'
import DialogTitle from '@mui/material/DialogTitle'
import DialogContent from '@mui/material/DialogContent'
import DialogActions from '@mui/material/DialogActions'
import Typography from '@mui/material/Typography'

import FarmhandContext from '../Farmhand/Farmhand.context'

Expand Down Expand Up @@ -55,13 +54,7 @@ export const ChatRoom = () => {
aria-describedby={dialogTitleId}
aria-labelledby={dialogContentId}
>
<DialogTitle {...{ disableTypography: true }}>
<Typography
{...{ id: dialogTitleId, component: 'h2', variant: 'h6' }}
>
Chat room
</Typography>
</DialogTitle>
<DialogTitle>Chat room</DialogTitle>
<DialogContent {...{ id: dialogContentId }}>
{chatRoomComponent}
</DialogContent>
Expand Down

0 comments on commit 8a2c2e0

Please sign in to comment.