Skip to content

Commit

Permalink
[docs][Modal] Remove unnecessary type assertion (#43825)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli authored Sep 20, 2024
1 parent 3c83c7d commit 62a162f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/data/base/components/modal/NestedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const StyledBackdrop = styled(Backdrop)`
`;

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/modal/SpringModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const grey = {
};

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/modal/TransitionsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const StyledBackdrop = styled(Backdrop)`
`;

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/modal/UseModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const grey = {
};

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/modal/BasicModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography';
import Modal from '@mui/material/Modal';

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/modal/KeepMountedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/modal/NestedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/modal/SpringModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Fade = React.forwardRef<HTMLDivElement, FadeProps>(function Fade(props, re
});

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/modal/TransitionsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';

const style = {
position: 'absolute' as 'absolute',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
Expand Down

0 comments on commit 62a162f

Please sign in to comment.