Skip to content

Commit

Permalink
fixed lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Mubashirshariq <[email protected]>
  • Loading branch information
Mubashirshariq committed Feb 18, 2025
1 parent 9ad3508 commit 692e8e7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
16 changes: 15 additions & 1 deletion packages/jaeger-ui/src/components/App/Page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright (c) 2017 Uber Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import * as React from 'react';
import { Layout } from 'antd';
import cx from 'classnames';
Expand Down Expand Up @@ -52,4 +66,4 @@ export function mapStateToProps(state: ReduxState) {
return { embedded, pathname, search };
}

export default connect(mapStateToProps)(withRouteProps(PageImpl));
export default connect(mapStateToProps)(withRouteProps(PageImpl));
9 changes: 2 additions & 7 deletions packages/jaeger-ui/src/components/App/TraceIDSearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,9 @@ const TraceIDSearchInput: React.FC<Props> = ({ history }) => {
onSubmitCapture={goToTrace}
className="TraceIDSearchInput--form"
>
<Input
data-testid="idInput"
name="idInput"
placeholder="Lookup by Trace ID..."
prefix={<IoSearch />}
/>
<Input data-testid="idInput" name="idInput" placeholder="Lookup by Trace ID..." prefix={<IoSearch />} />
</Form>
);
};

export default withRouteProps(TraceIDSearchInput);
export default withRouteProps(TraceIDSearchInput);
16 changes: 15 additions & 1 deletion packages/jaeger-ui/src/components/App/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright (c) 2017 Uber Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import React from 'react';
import { Provider } from 'react-redux';
import { Route, Redirect, Switch, Router } from 'react-router-dom';
Expand Down Expand Up @@ -119,4 +133,4 @@ const JaegerUIApp = () => {
);
};

export default JaegerUIApp;
export default JaegerUIApp;

0 comments on commit 692e8e7

Please sign in to comment.