From 730c7c52acefd288fc8c80cc916facac5e66f398 Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Sat, 3 Sep 2022 00:09:48 +0500 Subject: [PATCH] chore: remove commented code --- web/src/components/tree.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/web/src/components/tree.tsx b/web/src/components/tree.tsx index 382cef6..5b06db5 100644 --- a/web/src/components/tree.tsx +++ b/web/src/components/tree.tsx @@ -63,7 +63,6 @@ const TreeViewNode = ({ rename, defaultExpanded }: Props) => { - // const appContext = useContext(AppContext) const [deleteConfirmationModalOpen, setDeleteConfirmationModalOpen] = useState(false) const [deleteConfirmationModalMessage, setDeleteConfirmationModalMessage] = @@ -79,11 +78,6 @@ const TreeViewNode = ({ mouseY: number } | null>(null) - // const isFileLaunchable = (filename: string) => { - // const availableRuntimes = Object.values(appContext.runTimes) - - // } - const launchProgram = () => { const baseUrl = window.location.origin window.open(`${baseUrl}/SASjsApi/stp/execute?_program=${node.relativePath}`)