umwd-components 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,8 +86,8 @@ function NavBar({
86
86
  }
87
87
  }, pages.map(page => {
88
88
  return /*#__PURE__*/React.createElement(material.Button, {
89
- key: page.name,
90
- onClick: () => page.action(),
89
+ key: page.name
90
+ /* onClick={() => page.action()} */,
91
91
  sx: {
92
92
  my: 2,
93
93
  color: "primary.contrastText",
@@ -229,8 +229,7 @@ function NavBar({
229
229
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(material.ListItem, {
230
230
  key: page.name,
231
231
  onClick: () => {
232
- page.action();
233
- handleCloseMobileMenu();
232
+ /* page.action(); */handleCloseMobileMenu();
234
233
  }
235
234
  }, /*#__PURE__*/React.createElement(material.ListItemText, {
236
235
  primary: page.name
@@ -82,8 +82,8 @@ function NavBar({
82
82
  }
83
83
  }, pages.map(page => {
84
84
  return /*#__PURE__*/React.createElement(Button, {
85
- key: page.name,
86
- onClick: () => page.action(),
85
+ key: page.name
86
+ /* onClick={() => page.action()} */,
87
87
  sx: {
88
88
  my: 2,
89
89
  color: "primary.contrastText",
@@ -225,8 +225,7 @@ function NavBar({
225
225
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ListItem, {
226
226
  key: page.name,
227
227
  onClick: () => {
228
- page.action();
229
- handleCloseMobileMenu();
228
+ /* page.action(); */handleCloseMobileMenu();
230
229
  }
231
230
  }, /*#__PURE__*/React.createElement(ListItemText, {
232
231
  primary: page.name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -81,7 +81,7 @@ function NavBar({site_title, logo, pages}){
81
81
  return (
82
82
  <Button
83
83
  key={page.name}
84
- onClick={() => page.action()}
84
+ /* onClick={() => page.action()} */
85
85
  sx={{ my: 2, color: "primary.contrastText", display: "block" }}
86
86
  >
87
87
  {page.name}
@@ -198,7 +198,7 @@ function NavBar({site_title, logo, pages}){
198
198
  <>
199
199
  <ListItem
200
200
  key={page.name}
201
- onClick={() => {page.action(); handleCloseMobileMenu();}}
201
+ onClick={() => {/* page.action(); */handleCloseMobileMenu();}}
202
202
  >
203
203
  <ListItemText primary={page.name} />
204
204
  </ListItem>