authscape 1.0.32 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,7 +64,6 @@ export default function PaymentModal({title, description, amount, priceId, setIs
64
64
 
65
65
  const PaymentMethod = ({id, last4, clicked}) => {
66
66
  return (
67
- <>
68
67
  <Box fullWidth={true} sx={{height: 160, width:"100%", marginTop:2, backgroundColor:"#2196F3", position:"relative", border: "1px solid #2196F3", borderRadius: 1, display:"flex", flexDirection:"column", justifyContent:"center", textAlign:"center", cursor:"pointer"}}
69
68
  onClick={() => {
70
69
  clicked(id);
@@ -100,7 +99,6 @@ export default function PaymentModal({title, description, amount, priceId, setIs
100
99
  </Grid>
101
100
  </Grid>
102
101
  </Box>
103
- </>
104
102
  );
105
103
  };
106
104
 
@@ -125,7 +123,6 @@ export default function PaymentModal({title, description, amount, priceId, setIs
125
123
  }
126
124
 
127
125
  return (
128
- <>
129
126
  <Dialog
130
127
  fullWidth={true}
131
128
  maxWidth={"sm"}
@@ -248,6 +245,5 @@ export default function PaymentModal({title, description, amount, priceId, setIs
248
245
  {/* <Button onClick={handleClose}>Close</Button> */}
249
246
  </DialogActions>
250
247
  </Dialog>
251
- </>
252
248
  )
253
249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.32",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,8 +1,5 @@
1
1
  import React, { useEffect, useState, useRef } from 'react';
2
2
  import apiService from './apiService';
3
- import Backdrop from '@mui/material/Backdrop';
4
- import CircularProgress from '@mui/material/CircularProgress';
5
- import { Box } from '@mui/material';
6
3
 
7
4
  export default function AuthorizationComponent({children, setCurrentUser, userLoaded, isLoading}) {
8
5
 
@@ -33,12 +30,5 @@ export default function AuthorizationComponent({children, setCurrentUser, userLo
33
30
 
34
31
  }, [loaded]);
35
32
 
36
- return (
37
- <Box>
38
- {children}
39
- <Backdrop sx={{ color: '#fff', zIndex: 99999 }} open={isLoading}>
40
- <CircularProgress color="inherit" />
41
- </Backdrop>
42
- </Box>
43
- )
33
+ return (children)
44
34
  }