Files
jitsi-meet/react/features/unsupported-browser/components/DefaultUnsupportedDesktopBrowser.tsx
2023-04-11 12:10:37 +03:00

32 lines
652 B
TypeScript

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;