diff options
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/ui/NavigationIcon.css | 4 | ||||
-rw-r--r-- | vnext/src/ui/NavigationIcon.js | 25 | ||||
-rw-r--r-- | vnext/src/ui/Thread.js | 2 |
3 files changed, 1 insertions, 30 deletions
diff --git a/vnext/src/ui/NavigationIcon.css b/vnext/src/ui/NavigationIcon.css deleted file mode 100644 index 9cbff965..00000000 --- a/vnext/src/ui/NavigationIcon.css +++ /dev/null @@ -1,4 +0,0 @@ -#navicon { - padding: 12px; - color: var(--dimmed-link-color); -} diff --git a/vnext/src/ui/NavigationIcon.js b/vnext/src/ui/NavigationIcon.js deleted file mode 100644 index 41b95398..00000000 --- a/vnext/src/ui/NavigationIcon.js +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react'; - -import Icon from './Icon'; - -import './NavigationIcon.css'; - -/** - * @typedef {Object} NavigationIconProps - * @property {(event: React.MouseEvent) => void} onToggle - */ - - /** - * Navigation icon - * @param {NavigationIconProps} props - */ -function NavigationIcon(props) { - return ( - <div id="navicon" className="mobile" onClick={props.onToggle}> - <Icon name="ei-navicon" size="s"/> - </div> - ); -} - -export default React.memo(NavigationIcon); - diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js index 9d22200c..f5cab72f 100644 --- a/vnext/src/ui/Thread.js +++ b/vnext/src/ui/Thread.js @@ -118,7 +118,7 @@ function Comment({ msg, draft, visitor, active, setActive, onStartEditing, postC /** * @param {{ visitor: import('../api').SecureUser - connection?: EventSource + connection: EventSource? }} props */ export default function Thread(props) { |