Unify audio playback under App component

This commit is contained in:
Fedor Indutny 2021-06-29 12:58:29 -07:00 committed by GitHub
parent 8b30fc17cd
commit 2cd4160422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 290 additions and 80 deletions

View file

@ -7,9 +7,12 @@ import { Provider } from 'react-redux';
import { Store } from 'redux';
import { SmartApp } from '../smart/App';
import { SmartGlobalAudioProvider } from '../smart/GlobalAudioProvider';
export const createApp = (store: Store): ReactElement => (
<Provider store={store}>
<SmartApp />
<SmartGlobalAudioProvider>
<SmartApp />
</SmartGlobalAudioProvider>
</Provider>
);