Skip to content

Commit

Permalink
fix: findDOMNode is deprecated in StrictMode. in Route/Endpoins tabs …
Browse files Browse the repository at this point in the history
…by using noWrap
  • Loading branch information
mmelko committed Oct 5, 2023
1 parent 0b6ba8c commit 08527ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export const EndpointStats: React.FunctionComponent = () => {
{sortStatistics().length > 0 ? (
<FormGroup>
<TableComposable aria-label='Endpoints Table' variant='compact' height='80vh'>
<Thead>
<Thead noWrap>
<Tr>
<Th data-testid={'url-header'} sort={getSortParams(0)}>
URL
Expand Down
2 changes: 1 addition & 1 deletion packages/hawtio/src/plugins/camel/routes/CamelRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const CamelRoutes: React.FunctionComponent = () => {
aria-label='Camel routes table'
variant='compact'
>
<Thead>
<Thead noWrap>
<Tr>
<Th
select={{
Expand Down

0 comments on commit 08527ff

Please sign in to comment.