mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
refactor: remove redundant fragment
This commit is contained in:
parent
c1b1dacc78
commit
c1638b4209
|
@ -82,7 +82,6 @@ export default function MyApp(props) {
|
|||
<CssBaseline/>
|
||||
{
|
||||
loading ? (syncing ? (
|
||||
<React.Fragment>
|
||||
<Dialog
|
||||
open={syncing}
|
||||
aria-labelledby="alert-dialog-title"
|
||||
|
@ -99,9 +98,7 @@ export default function MyApp(props) {
|
|||
</Box>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</React.Fragment>
|
||||
) : (
|
||||
<React.Fragment>
|
||||
<Dialog
|
||||
open={loading}
|
||||
aria-labelledby="alert-dialog-title"
|
||||
|
@ -117,7 +114,6 @@ export default function MyApp(props) {
|
|||
</Box>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</React.Fragment>
|
||||
)) : (
|
||||
<Component {...pageProps}/>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user