mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Feature/lazy load components (#590)
This commit is contained in:
parent
9c38655a92
commit
101292da92
46 changed files with 261 additions and 248 deletions
|
@ -1,4 +1,4 @@
|
|||
import React from 'react'
|
||||
import React, { Fragment } from 'react'
|
||||
import { Col, Row } from 'react-bootstrap'
|
||||
import { useSelector } from 'react-redux'
|
||||
import { Redirect } from 'react-router'
|
||||
|
@ -18,7 +18,7 @@ export const ProfilePage: React.FC = () => {
|
|||
)
|
||||
}
|
||||
|
||||
return (
|
||||
return <Fragment>
|
||||
<div className="my-3">
|
||||
<Row className="h-100 flex justify-content-center">
|
||||
<Col lg={6}>
|
||||
|
@ -30,5 +30,5 @@ export const ProfilePage: React.FC = () => {
|
|||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
)
|
||||
</Fragment>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue