Skip to content

Instantly share code, notes, and snippets.

@jrschumacher
Last active January 21, 2020 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrschumacher/a2f8359f7bef0309d59650046ee08493 to your computer and use it in GitHub Desktop.
Save jrschumacher/a2f8359f7bef0309d59650046ee08493 to your computer and use it in GitHub Desktop.
Virtru Secure Chat 2/3: Application Bootstrap
import React from 'react';
import { ClientSocket as SocketIOProvider } from 'use-socketio';
import { VirtruProvider } from '../hooks/useVirtru';
import AuthenticationModal from '../components/authenticationModal';
import Room from '../components/room';
function App() {
return (
<VirtruProvider>
<SocketIOProvider>
<Room />
<AuthenticationModal />
</SocketIOProvider>
</VirtruProvider>
);
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment