"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/sapp/sapp/frontend/src/index.js" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

index.js  (pyre-check-0.0.53):index.js  (pyre-check-0.0.54)
skipping to change at line 12 skipping to change at line 12
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Facebook, Inc. and its affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import {Layout} from 'antd';
import './index.css'; import './index.css';
import Application from './Application'; import Issues from './Issues';
import Trace from './Trace'; import Trace from './Trace';
import * as serviceWorker from './serviceWorker'; import * as serviceWorker from './serviceWorker';
import {Route, BrowserRouter as Router} from 'react-router-dom'; import {Route, BrowserRouter as Router} from 'react-router-dom';
import {ApolloClient, InMemoryCache, ApolloProvider} from '@apollo/client'; import {ApolloClient, InMemoryCache, ApolloProvider} from '@apollo/client';
import 'antd/dist/antd.css';
const {Header, Content, Footer} = Layout;
const client = new ApolloClient({ const client = new ApolloClient({
uri: 'http://localhost:5000/graphql', uri: 'http://localhost:5000/graphql',
cache: new InMemoryCache(), cache: new InMemoryCache(),
}); });
const routing = ( const routing = (
<ApolloProvider client={client}> <ApolloProvider client={client}>
<Router> <Router>
<div> <Layout>
<Route exact path="/" component={Application} /> <Header>
<Route path="/trace/:issue_id" component={Trace} /> <div>
</div> <h1 class="logo">SAPP</h1>
</div>
</Header>
<Content>
<div class="main">
<Route exact path="/" component={Issues} />
<Route path="/trace/:issue_id" component={Trace} />
</div>
</Content>
<Footer />
</Layout>
</Router> </Router>
</ApolloProvider> </ApolloProvider>
); );
ReactDOM.render(routing, document.getElementById('root')); ReactDOM.render(routing, document.getElementById('root'));
serviceWorker.unregister(); serviceWorker.unregister();
 End of changes. 4 change blocks. 
5 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)