Skip to content

Commit

Permalink
Update x-pack/plugins/infra/public/containers/logs/log_filter/log_fil…
Browse files Browse the repository at this point in the history
…ter_state.ts

Co-authored-by: Felix Stürmer <[email protected]>
  • Loading branch information
Kerry350 and weltenwort authored Oct 25, 2022
1 parent b484f3e commit 809238b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export const useLogFilterState = ({ dataView }: { dataView: DataViewBase }) => {

const kibanaQuerySettings = useKibanaQuerySettings();

const [logFilterState, setLogFilterState] = useState<ILogFilterState>(() => {
return INITIAL_LOG_FILTER_STATE;
});
const [logFilterState, setLogFilterState] = useState<ILogFilterState>(INITIAL_LOG_FILTER_STATE);

useEffect(() => {
const handleValidationError = (error: Error) => {
Expand Down

0 comments on commit 809238b

Please sign in to comment.