You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DefaultUnsupportedDesktopBrowser.tsx 652B

12345678910111213141516171819202122232425262728293031
  1. import React, { Component } from 'react';
  2. /**
  3. * React component representing unsupported browser page.
  4. *
  5. * @class DefaultUnsupportedDesktopBrowser
  6. */
  7. class DefaultUnsupportedDesktopBrowser extends Component {
  8. /**
  9. * Redirects to the static recommended browsers page that is also used for IE.
  10. *
  11. * @returns {void}
  12. */
  13. componentDidMount() {
  14. window.location.pathname = 'static/recommendedBrowsers.html';
  15. }
  16. /**
  17. * Renders the component.
  18. *
  19. * @returns {ReactElement}
  20. */
  21. render() {
  22. return (
  23. <div />
  24. );
  25. }
  26. }
  27. export default DefaultUnsupportedDesktopBrowser;