2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
|
|
|
|
import { Store } from 'redux';
|
|
|
|
|
|
|
|
import { SmartCallManager } from '../smart/CallManager';
|
|
|
|
|
2020-09-14 21:56:35 +00:00
|
|
|
export const createCallManager = (store: Store): React.ReactElement => (
|
2020-06-04 18:16:19 +00:00
|
|
|
<Provider store={store}>
|
2020-10-26 21:32:46 +00:00
|
|
|
<SmartCallManager />
|
2020-06-04 18:16:19 +00:00
|
|
|
</Provider>
|
|
|
|
);
|