Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
orouz committed Apr 5, 2022
1 parent 79394ec commit 591d2e0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/
import React from 'react';
import { EuiSpacer, EuiTitle } from '@elastic/eui';
import { EuiSpacer, EuiTitle, useEuiTheme } from '@elastic/eui';
import { css } from '@emotion/react';
import { FormattedMessage } from '@kbn/i18n-react';
import { FindingsTable } from './findings_table';
Expand All @@ -28,7 +28,7 @@ const getDefaultQuery = (): CspFindingsRequest => ({
export const FindingsContainer = ({ dataView }: { dataView: DataView }) => {
const { urlQuery: findingsQuery, setUrlQuery, key } = useUrlQuery(getDefaultQuery);
const findingsResult = useFindings(dataView, findingsQuery, key);

const { euiTheme } = useEuiTheme();
return (
<div data-test-subj={TEST_SUBJECTS.FINDINGS_CONTAINER}>
<FindingsSearchBar
Expand All @@ -39,7 +39,7 @@ export const FindingsContainer = ({ dataView }: { dataView: DataView }) => {
/>
<div
css={css`
padding: 24px;
padding: ${euiTheme.size.l};
`}
>
<PageTitle />
Expand Down

0 comments on commit 591d2e0

Please sign in to comment.