| 
									
										
										
										
											2020-10-30 15:34:04 -05:00
										 |  |  | // Copyright 2019-2020 Signal Messenger, LLC
 | 
					
						
							|  |  |  | // SPDX-License-Identifier: AGPL-3.0-only
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 13:49:58 -08:00
										 |  |  | import React from 'react'; | 
					
						
							|  |  |  | import { Provider } from 'react-redux'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import { Store } from 'redux'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import { SmartLeftPane } from '../smart/LeftPane'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-14 14:56:35 -07:00
										 |  |  | export const createLeftPane = (store: Store): React.ReactElement => ( | 
					
						
							| 
									
										
										
										
											2019-01-14 13:49:58 -08:00
										 |  |  |   <Provider store={store}> | 
					
						
							| 
									
										
										
										
											2020-10-26 16:32:46 -05:00
										 |  |  |     <SmartLeftPane /> | 
					
						
							| 
									
										
										
										
											2019-01-14 13:49:58 -08:00
										 |  |  |   </Provider> | 
					
						
							|  |  |  | ); |