-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SRI-International/update-libs-to-latest
Update libs to latest
- Loading branch information
Showing
26 changed files
with
29,179 additions
and
11,415 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react'; | ||
import { Grid } from '@mui/material'; | ||
import { NetworkGraphComponent } from './components/NetworkGraph/NetworkGraphComponent'; | ||
import { HeaderComponent } from './components/Header/HeaderComponent'; | ||
import { DetailsComponent } from './components/Details/DetailsComponent'; | ||
|
||
export const App = () => ( | ||
<div> | ||
<Grid container spacing={1}> | ||
<Grid item xs={12} sm={12} md={12}> | ||
<HeaderComponent /> | ||
</Grid> | ||
<Grid item xs={12} sm={9} md={9}> | ||
<NetworkGraphComponent /> | ||
</Grid> | ||
<Grid item xs={12} sm={3} md={3}> | ||
<DetailsComponent /> | ||
</Grid> | ||
</Grid> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { configureStore } from "@reduxjs/toolkit"; | ||
import gremlinReducer from '../reducers/gremlinReducer'; | ||
import graphReducer from '../reducers/graphReducer'; | ||
import optionReducer from '../reducers/optionReducer'; | ||
import { useDispatch } from "react-redux"; | ||
|
||
|
||
|
||
// const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; | ||
|
||
const store = configureStore({ | ||
reducer: { gremlin: gremlinReducer, graph: graphReducer, options: optionReducer }, | ||
// composeEnhancers(applyMiddleware(createLogger())) | ||
}); | ||
|
||
export type RootState = ReturnType<typeof store.getState>; | ||
export type AppDispatch = typeof store.dispatch; | ||
export const useAppDispatch: () => AppDispatch = useDispatch; | ||
export default store; |
Oops, something went wrong.