Skip to content

Commit

Permalink
Fixed react errors
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn committed Oct 18, 2024
1 parent bdf41a6 commit 574bb56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/containers/Dashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Button, Card, Col, Input, Modal, Row, Tooltip } from 'antd'
import { Redirect, RouteComponentProps } from 'react-router'
import { Fragment } from 'react/jsx-runtime'
import AppConstants from '../utils/AppConstants'
import { localize } from '../utils/Language'
import Toaster from '../utils/Toaster'
Expand Down Expand Up @@ -342,12 +343,13 @@ export default class Dashboard extends ApiComponent<
</span>,
<i> captain.myawesomecompany.com </i>,
<i> foo.bar.myawesomecompany.com </i>,
<div>
{' '}
<Fragment>
<br />
<b> Type:</b> <u>A</u>, <b>Name (or host):</b>{' '}
<u> *.caprover-root</u>, <b> IP (or Points to):</b>{' '}
<u> 110.120.130.140 </u>
</div>,
<br />
</Fragment>,
]
const translatedBody = Utils.formatText(
localize(
Expand Down
4 changes: 2 additions & 2 deletions src/containers/apps/AppsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ class AppsTable extends Component<
{breadCrumbs
.map((id) => projectsMap[id]?.name || '')
.map((name, index) => (
<>
<Fragment key={name}>
<span
style={{
marginInlineStart: 5,
Expand All @@ -651,7 +651,7 @@ class AppsTable extends Component<
{index < breadCrumbs.length - 1 && (
<CaretRightOutlined />
)}
</>
</Fragment>
))}
</span>
)
Expand Down

0 comments on commit 574bb56

Please sign in to comment.