authscape 1.0.37 → 1.0.38
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.
|
@@ -102,25 +102,25 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
102
102
|
// );
|
|
103
103
|
// };
|
|
104
104
|
|
|
105
|
-
function TabPanel(props) {
|
|
106
|
-
|
|
105
|
+
// function TabPanel(props) {
|
|
106
|
+
// const { children, value, index, ...other } = props;
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
108
|
+
// return (
|
|
109
|
+
// <div
|
|
110
|
+
// role="tabpanel"
|
|
111
|
+
// hidden={value !== index}
|
|
112
|
+
// id={`simple-tabpanel-${index}`}
|
|
113
|
+
// aria-labelledby={`simple-tab-${index}`}
|
|
114
|
+
// {...other}
|
|
115
|
+
// >
|
|
116
|
+
// {value === index && (
|
|
117
|
+
// <Box sx={{ p: 3 }}>
|
|
118
|
+
// <Typography>{children}</Typography>
|
|
119
|
+
// </Box>
|
|
120
|
+
// )}
|
|
121
|
+
// </div>
|
|
122
|
+
// );
|
|
123
|
+
// }
|
|
124
124
|
|
|
125
125
|
return (
|
|
126
126
|
<Dialog
|
|
@@ -148,7 +148,7 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
148
148
|
<DialogContent>
|
|
149
149
|
{description}
|
|
150
150
|
|
|
151
|
-
<Box sx={{ width: '100%' }}>
|
|
151
|
+
{/* <Box sx={{ width: '100%' }}>
|
|
152
152
|
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
|
|
153
153
|
<Tabs value={value} onChange={handleChange} aria-label="basic tabs example">
|
|
154
154
|
<Tab label="Existing Payment Method" {...a11yProps(0)} />
|
|
@@ -157,7 +157,7 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
157
157
|
</Box>
|
|
158
158
|
<TabPanel value={value} index={0}>
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
<Select
|
|
161
161
|
sx={{marginTop:4}}
|
|
162
162
|
fullWidth={true}
|
|
163
163
|
id="demo-simple-select"
|
|
@@ -172,7 +172,7 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
172
172
|
}} />
|
|
173
173
|
</MenuItem>)
|
|
174
174
|
})}
|
|
175
|
-
</Select>
|
|
175
|
+
</Select>
|
|
176
176
|
|
|
177
177
|
<Button startIcon={<PaymentRoundedIcon/>} type="submit" variant="contained" disabled={paymentMethod == null} sx={{marginTop:2}} onClick={async () => {
|
|
178
178
|
|
|
@@ -207,7 +207,7 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
207
207
|
</Box>
|
|
208
208
|
</div>
|
|
209
209
|
</TabPanel>
|
|
210
|
-
</Box>
|
|
210
|
+
</Box> */}
|
|
211
211
|
|
|
212
212
|
</DialogContent>
|
|
213
213
|
<DialogActions>
|