pallote-react 0.14.1 → 0.14.2
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.
- package/index.js +1 -2
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import classnames from 'classnames';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
5
|
import { X, CalendarBlank, Clock, CaretUpDown, ArrowSquareOut } from '@phosphor-icons/react';
|
|
6
|
-
import { Link as Link$1 } from 'react-router-dom';
|
|
7
6
|
import SyntaxHighlighter from 'react-syntax-highlighter';
|
|
8
7
|
|
|
9
8
|
const Color = ({
|
|
@@ -916,7 +915,7 @@ const NavItem = ({
|
|
|
916
915
|
if (dropdown) {
|
|
917
916
|
Component = 'button';
|
|
918
917
|
} else {
|
|
919
|
-
Component = component ||
|
|
918
|
+
Component = component || "a";
|
|
920
919
|
}
|
|
921
920
|
return /*#__PURE__*/React.createElement("div", {
|
|
922
921
|
className: classnames(['nav_item', {
|