Skip to content

Commit

Permalink
Updated GitHub panel and added middleware to the redux store to stop …
Browse files Browse the repository at this point in the history
…some warnings in the devtools
  • Loading branch information
Drock54651 committed Jun 11, 2024
1 parent a9433f8 commit b272611
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/activities.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Activities = {
// Any activities below will be pushed to the bottom of the toolbar
GitHub: {
id: "synbio.activity.GitHub",
title: "GitHub ",
title: "GitHub and Website ",
component: GitHubView,
icon: RiGithubFill,
mt: 'auto'
Expand Down
30 changes: 9 additions & 21 deletions src/components/activities/explorer/GitHubView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,32 @@ export default function GitHubView(){

<Stack>
<Text align="center" size={15} mt={20}>
GitHub links to our various Projects!
SynBioSuite GitHub and our Research Group's Website
</Text>

<Center>
<Center style={{justifyContent: "space-evenly"}}>
<Button
component="a"
align="center"
href="https://github.com/MyersResearchGroup/SynBioSuite"
target="_blank"
style={{width: "115.5px"}}

size = 'xs'
>
SynBioSuite
</Button>

</Center>
<Center>
<Button
component="a"
align="center"
href="https://github.com/SynBioDex/SBOLCanvas"
href="https://geneticlogiclab.org/"
target="_blank"
style={{width: "115.5px"}}
size = 'xs'
>
SBOLCanvas
</Button>
</Center>
<Center>
<Button
component="a"
align="center"
href="https://github.com/SynBioHub/synbiohub"
target="_blank"
style={{width: "115.5px"}}
>
SynBioHub
Genetic Logic Lab
</Button>

</Center>

</Stack>
</>
)
Expand Down
8 changes: 7 additions & 1 deletion src/redux/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ export default configureStore({
workingDirectory: workingDirectorySlice.reducer,
panels: panelsSlice.reducer,
saveIndicator: saveIndicatorReducer
}
},

// Uncomment this out to get rid of the annoying "A non-serializable value" warnings in the devtools.

// middleware: (getDefaultMiddleware) => getDefaultMiddleware({
// serializableCheck: false
// })
})

export { panelsSlice, workingDirectorySlice, activitySlice, saveIndicatorReducer }

0 comments on commit b272611

Please sign in to comment.