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.js 665B

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