jitsi-meet/react/features/unsupported-browser/components/DefaultUnsupportedDesktopBrowser.tsx
theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08:00

32 lines
670 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}
*/
override componentDidMount() {
window.location.pathname = 'static/recommendedBrowsers.html';
}
/**
* Renders the component.
*
* @returns {ReactElement}
*/
override render() {
return (
<div />
);
}
}
export default DefaultUnsupportedDesktopBrowser;