Skip to content

Commit

Permalink
trial context
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGOrtega committed Apr 11, 2024
1 parent a281aa9 commit 38e38d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/008/src/components/Container.web.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ import { View } from 'react-native';
import { COLORS } from './Basics';
import { useStore } from '../store/Context';

import { init } from '../store/Electron';
import { init as initEvents } from '../store/Events';

init();
initEvents();

export const Container = ({ children }) => {
const {
size: { width, height }
Expand Down
5 changes: 5 additions & 0 deletions packages/008/src/store/Context.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { encode } from 'base-64';
import _ from 'lodash';

import { getMicrophones, getSpeakers } from '../Sound';
import { init as initElectron } from './Electron';
import { init as initEvents } from './Events';
import Contacts from './Contacts';

const contacts = new Contacts();
Expand Down Expand Up @@ -68,6 +70,9 @@ const initializeStore = async state => {
await requestPermissions();
initAudioDevices();

initElectron();
initEvents();

initContacts();
};

Expand Down

0 comments on commit 38e38d4

Please sign in to comment.