Skip to content

Commit

Permalink
update to use dialogtitle instead of typography. Updating on Theme Le…
Browse files Browse the repository at this point in the history
…vel the weight of fontweight
  • Loading branch information
glespinosa committed Feb 21, 2024
1 parent ee0fb1a commit 87dba20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
5 changes: 1 addition & 4 deletions src/apps/media/src/app/components/DeleteFolderDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
DialogTitle,
DialogContentText,
IconButton,
Typography,
} from "@mui/material";
import {
useDeleteGroupMutation,
Expand Down Expand Up @@ -54,9 +53,7 @@ export const DeleteFolderDialog = ({ open, onClose, id, groupId }: Props) => {
mb: 2,
}}
/>
<Typography variant="h5" fontWeight={700}>
Delete Folder?
</Typography>
Delete Folder?
</DialogTitle>
<DialogContent>
<DialogContentText>
Expand Down
7 changes: 1 addition & 6 deletions src/apps/media/src/app/components/NewFolderDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
TextField,
Autocomplete,
createFilterOptions,
Typography,
} from "@mui/material";
import { LoadingButton } from "@mui/lab";
import { useSelector } from "react-redux";
Expand Down Expand Up @@ -125,11 +124,7 @@ export const NewFolderDialog = ({ open, onClose, id, binId }: Props) => {

return (
<Dialog open={open} onClose={onClose} fullWidth maxWidth={"xs"}>
<DialogTitle>
<Typography variant="h5" fontWeight="700">
New Folder
</Typography>
</DialogTitle>
<DialogTitle>New Folder</DialogTitle>
<DialogContent>
<InputLabel>Parent Folder</InputLabel>
<Autocomplete
Expand Down
7 changes: 1 addition & 6 deletions src/apps/media/src/app/components/RenameFolderDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
DialogTitle,
InputLabel,
TextField,
Typography,
} from "@mui/material";
import { mediaManagerApi } from "../../../../../shell/services/mediaManager";

Expand Down Expand Up @@ -58,11 +57,7 @@ export const RenameFolderDialog = ({

return (
<Dialog open={open} onClose={onClose} fullWidth maxWidth={"xs"}>
<DialogTitle>
<Typography variant="h5" fontWeight="700">
Rename Folder
</Typography>
</DialogTitle>
<DialogTitle>Rename Folder</DialogTitle>
<DialogContent>
<InputLabel>New Folder Name</InputLabel>
<TextField
Expand Down

0 comments on commit 87dba20

Please sign in to comment.