mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-19 13:37:50 +00:00
ref(TS) Convert some components to TS (#13192)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
/**
|
||||
* React component representing unsupported browser page.
|
||||
*
|
||||
* @class DefaultUnsupportedDesktopBrowser
|
||||
*/
|
||||
class DefaultUnsupportedDesktopBrowser extends Component {
|
||||
|
||||
/**
|
||||
* Redirects to the static recommended browsers page that is also used for IE.
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
componentDidMount() {
|
||||
window.location.pathname = 'static/recommendedBrowsers.html';
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the component.
|
||||
*
|
||||
* @returns {ReactElement}
|
||||
*/
|
||||
render() {
|
||||
return (
|
||||
<div />
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default DefaultUnsupportedDesktopBrowser;
|
||||
Reference in New Issue
Block a user