mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-02 00:34:53 +02:00
35 lines
628 B
JavaScript
35 lines
628 B
JavaScript
// @flow
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
import { Conference } from '../../conference';
|
|
import config from '../../config';
|
|
|
|
/**
|
|
* Main component encapsulating the entire application.
|
|
*/
|
|
export default class App extends Component<*> {
|
|
/**
|
|
* Initializes a new {@code App} instance.
|
|
*
|
|
* @inheritdoc
|
|
*/
|
|
constructor() {
|
|
super();
|
|
|
|
document.title = config.appName;
|
|
}
|
|
|
|
/**
|
|
* Implements React's {@link Component#render()}.
|
|
*
|
|
* @inheritdoc
|
|
* @returns {ReactElement}
|
|
*/
|
|
render() {
|
|
return (
|
|
<Conference />
|
|
);
|
|
}
|
|
}
|