Summary: Fixes https://github.com/facebook/flipper/issues/1003 Pull Request resolved: https://github.com/facebook/flipper/pull/1005 Test Plan: https://fbflipper.com/docs/getting-started/index.html works. Reviewed By: jknoxville Differential Revision: D20993208 Pulled By: passy fbshipit-source-id: 1f0e3dd9a8d13f76018117dbc73dd1513a0df3c2
25 lines
485 B
JavaScript
25 lines
485 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
const React = require('react');
|
|
|
|
class Docs extends React.Component {
|
|
render() {
|
|
return (
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: "window.location.href = '/docs/getting-started/index.html'",
|
|
}}
|
|
/>
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = Docs;
|