diff --git a/js/components/ContextMenu.tsx b/js/components/ContextMenu.tsx
index a4ae01c8..6aedc6f5 100644
--- a/js/components/ContextMenu.tsx
+++ b/js/components/ContextMenu.tsx
@@ -76,7 +76,7 @@ export const LinkNode = (props: LinkNodeProps) => (
interface NodeProps {
label: string;
- checked: boolean;
+ checked?: boolean;
hotkey?: string;
className?: string;
// TODO: Figure out how to do passthrough props
@@ -96,8 +96,8 @@ interface ContextMenuProps {
children: React.ReactNode;
offsetTop: number;
offsetLeft: number;
- top: number;
- bottom: number;
+ top: boolean;
+ bottom: boolean;
selected: boolean;
zIndex: number;
}
diff --git a/js/components/ContextMenuTarget.tsx b/js/components/ContextMenuTarget.tsx
index b8f59719..79617d36 100644
--- a/js/components/ContextMenuTarget.tsx
+++ b/js/components/ContextMenuTarget.tsx
@@ -4,8 +4,9 @@ import ContextMenu from "./ContextMenu";
interface Props {
handle: React.ReactNode;
children: React.ReactNode;
- top: number;
- bottom: number;
+ top?: boolean;
+ bottom?: boolean;
+ style?: React.CSSProperties;
}
interface State {
selected: boolean;
diff --git a/js/components/PlaylistWindow/MiscMenu.js b/js/components/PlaylistWindow/MiscMenu.js
deleted file mode 100644
index c3bcfb01..00000000
--- a/js/components/PlaylistWindow/MiscMenu.js
+++ /dev/null
@@ -1,69 +0,0 @@
-import React from "react";
-import { connect } from "react-redux";
-import {
- reverseList,
- randomizeList,
- sortListByTitle,
- downloadHtmlPlaylist
-} from "../../actionCreators";
-
-import { Hr, Node } from "../ContextMenu";
-import ContextMenuTarget from "../ContextMenuTarget";
-import PlaylistMenu from "./PlaylistMenu";
-
-/* eslint-disable no-alert */
-/* TODO: This should really be kitty-corner to the upper right hand corner of the MiscMenu */
-const SortContextMenu = props => (
-