feat(preferences): error reporting segment (#652)

* feat(preferences): error reporting segment

* feat(preferences): move error reporting to general pane
This commit is contained in:
Gorjan Petrovski
2021-09-28 18:08:27 +02:00
committed by GitHub
parent b312df41a6
commit 3867f625f1
8 changed files with 117 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
import { WebApplication } from '@/ui_models/application';
import { AppState } from '@/ui_models/app_state';
import { FunctionComponent } from 'preact';
import { PreferencesPane } from '../components';
import { ErrorReporting } from './general-segments';
interface GeneralProps {
appState: AppState;
application: WebApplication;
}
export const General: FunctionComponent<GeneralProps> = (props) => (
<PreferencesPane>
<ErrorReporting appState={props.appState} />
</PreferencesPane>
);