aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/NavigationIcon.css4
-rw-r--r--vnext/src/ui/NavigationIcon.js25
-rw-r--r--vnext/src/ui/Thread.js2
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 9cbff9654..000000000
--- 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 41b953984..000000000
--- 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 9d22200cd..f5cab72f1 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) {