You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2022/10/11 01:37:38 UTC
[age-viewer] branch main updated: remove spaces and comments (#32)
This is an automated email from the ASF dual-hosted git repository.
joshinnis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/age-viewer.git
The following commit(s) were added to refs/heads/main by this push:
new d1dadc4 remove spaces and comments (#32)
d1dadc4 is described below
commit d1dadc407cf602732c8c733d2c2cdd5ee1de5b96
Author: MJinH <97...@users.noreply.github.com>
AuthorDate: Mon Oct 10 18:37:33 2022 -0700
remove spaces and comments (#32)
Co-authored-by: Jin <we...@gmail.com>
---
frontend/src/components/sidebar/containers/Sidebar.js | 11 -----------
frontend/src/components/sidebar/presentations/SidebarHome.jsx | 2 --
2 files changed, 13 deletions(-)
diff --git a/frontend/src/components/sidebar/containers/Sidebar.js b/frontend/src/components/sidebar/containers/Sidebar.js
index c3547cb..ac862fa 100644
--- a/frontend/src/components/sidebar/containers/Sidebar.js
+++ b/frontend/src/components/sidebar/containers/Sidebar.js
@@ -25,17 +25,6 @@ const mapStateToProps = (state) => ({
isActive: state.navigator.isActive,
});
-/*
-const mapDispatchToProps = (dispatch) => {
- return {
- onThemeChange: function(e) {
- const selectedTheme = e.target.value
- dispatch({type: 'CHANGE_THEME', theme : selectedTheme})
- }
- }
-}
-*/
-
const mapDispatchToProps = {};
export default connect(mapStateToProps, mapDispatchToProps)(Sidebar);
diff --git a/frontend/src/components/sidebar/presentations/SidebarHome.jsx b/frontend/src/components/sidebar/presentations/SidebarHome.jsx
index a31b057..80b35bc 100644
--- a/frontend/src/components/sidebar/presentations/SidebarHome.jsx
+++ b/frontend/src/components/sidebar/presentations/SidebarHome.jsx
@@ -257,7 +257,6 @@ const ConnectedText = ({ userName, roleName }) => (
</h6>
</div>
);
-
ConnectedText.propTypes = {
userName: PropTypes.string.isRequired,
roleName: PropTypes.string.isRequired,
@@ -285,7 +284,6 @@ const DBMSText = ({ dbname, graph }) => (
</h6>
</div>
);
-
DBMSText.propTypes = {
dbname: PropTypes.string.isRequired,
graph: PropTypes.string.isRequired,