diff --git a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx index d7d74aac1..66bd28a1b 100644 --- a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx +++ b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx @@ -91,4 +91,4 @@ function SessionSearch(props: Props) { export default connect((state: any) => ({ saveRequestPayloads: state.getIn(['site', 'active', 'saveRequestPayloads']), appliedFilter: state.getIn([ 'search', 'instance' ]), -}), { edit, addFilter })(SessionSearch); \ No newline at end of file +}), { edit, addFilter })(SessionSearch); diff --git a/frontend/app/components/shared/SessionSettings/SessionSettings.tsx b/frontend/app/components/shared/SessionSettings/SessionSettings.tsx index 0c8fedd37..9a097a47a 100644 --- a/frontend/app/components/shared/SessionSettings/SessionSettings.tsx +++ b/frontend/app/components/shared/SessionSettings/SessionSettings.tsx @@ -1,12 +1,11 @@ import React from 'react'; -import { useObserver } from 'mobx-react-lite'; import ListingVisibility from './components/ListingVisibility'; import DefaultPlaying from './components/DefaultPlaying'; import DefaultTimezone from './components/DefaultTimezone'; import CaptureRate from './components/CaptureRate'; function SessionSettings() { - return useObserver(() => ( + return (

Sessions Settings

@@ -28,7 +27,7 @@ function SessionSettings() {
- )); + ); } -export default SessionSettings; +export default SessionSettings diff --git a/frontend/app/components/shared/SessionSettings/components/ListingVisibility.tsx b/frontend/app/components/shared/SessionSettings/components/ListingVisibility.tsx index 4f6708187..30f3c3960 100644 --- a/frontend/app/components/shared/SessionSettings/components/ListingVisibility.tsx +++ b/frontend/app/components/shared/SessionSettings/components/ListingVisibility.tsx @@ -4,8 +4,6 @@ import { Button, Input } from 'UI'; import { useStore } from 'App/mstore'; import { observer } from 'mobx-react-lite'; import { toast } from 'react-toastify'; -import { connect } from 'react-redux'; -import { fetchSessions } from 'Duck/search'; const numberOptions = [ { label: 'Less than', value: '<' }, diff --git a/frontend/app/duck/filters.js b/frontend/app/duck/filters.js index 16c16aa5e..8d9dbbff9 100644 --- a/frontend/app/duck/filters.js +++ b/frontend/app/duck/filters.js @@ -391,4 +391,4 @@ export const updateValue = (filterType, index, value) => { index, value } -} \ No newline at end of file +} diff --git a/frontend/app/mstore/types/filter.ts b/frontend/app/mstore/types/filter.ts index 3635993f7..8d6576909 100644 --- a/frontend/app/mstore/types/filter.ts +++ b/frontend/app/mstore/types/filter.ts @@ -96,4 +96,4 @@ export default class Filter implements IFilter { } return json } -} \ No newline at end of file +}