2021-09-20 08:38:46 +00:00
|
|
|
/* @flow */
|
|
|
|
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
/**
|
2022-03-17 12:56:43 +00:00
|
|
|
* React component representing unsupported browser page.
|
2021-09-20 08:38:46 +00:00
|
|
|
*
|
2022-03-17 12:56:43 +00:00
|
|
|
* @class DefaultUnsupportedDesktopBrowser
|
2021-09-20 08:38:46 +00:00
|
|
|
*/
|
2022-03-17 12:56:43 +00:00
|
|
|
class DefaultUnsupportedDesktopBrowser extends Component {
|
2021-09-20 08:38:46 +00:00
|
|
|
|
|
|
|
/**
|
2022-03-17 12:56:43 +00:00
|
|
|
* Redirects to the static recommended browsers page that is also used for IE.
|
|
|
|
*
|
|
|
|
* @returns {void}
|
2021-09-20 08:38:46 +00:00
|
|
|
*/
|
2022-03-17 12:56:43 +00:00
|
|
|
componentDidMount() {
|
2022-04-29 17:02:05 +00:00
|
|
|
window.location.pathname = 'static/recommendedBrowsers.html';
|
2022-03-17 12:56:43 +00:00
|
|
|
}
|
2021-09-20 08:38:46 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders the component.
|
|
|
|
*
|
|
|
|
* @returns {ReactElement}
|
|
|
|
*/
|
|
|
|
render() {
|
|
|
|
return (
|
2022-03-17 12:56:43 +00:00
|
|
|
<div />
|
2021-09-20 08:38:46 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-17 12:56:43 +00:00
|
|
|
export default DefaultUnsupportedDesktopBrowser;
|