signal-desktop/ts/state/roots/createLeftPane.tsx

16 lines
376 B
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2019-01-14 21:49:58 +00:00
import React from 'react';
import { Provider } from 'react-redux';
import { Store } from 'redux';
import { SmartLeftPane } from '../smart/LeftPane';
export const createLeftPane = (store: Store): React.ReactElement => (
2019-01-14 21:49:58 +00:00
<Provider store={store}>
<SmartLeftPane />
2019-01-14 21:49:58 +00:00
</Provider>
);