Skip to content

Commit

Permalink
Update SimpleBackdrop.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Oct 5, 2023
1 parent 90792c5 commit 27945e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 1 addition & 3 deletions backend/src/components/SimpleBackdrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import {
Typography
} from '@mui/material'

function SimpleBackdrop(props: { progress?: boolean, text?: string }) {
const { progress, text } = props

function SimpleBackdrop({ progress, text }: { progress?: boolean, text?: string }) {
return (
<div>
<Backdrop open sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }}>
Expand Down
10 changes: 6 additions & 4 deletions frontend/src/components/SimpleBackdrop.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import React from 'react'
import { Backdrop, CircularProgress, Typography } from '@mui/material'

function SimpleBackdrop(props: { progress?: boolean, text?: string }) {
const { progress, text } = props
import {
Backdrop,
CircularProgress,
Typography
} from '@mui/material'

function SimpleBackdrop({ progress, text }: { progress?: boolean, text?: string }) {
return (
<div>
<Backdrop open sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }}>
Expand Down

0 comments on commit 27945e2

Please sign in to comment.