mirror of
https://github.com/sasjs/server.git
synced 2026-01-15 09:50:06 +00:00
chore: remove commented code
This commit is contained in:
@@ -63,7 +63,6 @@ const TreeViewNode = ({
|
|||||||
rename,
|
rename,
|
||||||
defaultExpanded
|
defaultExpanded
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
// const appContext = useContext(AppContext)
|
|
||||||
const [deleteConfirmationModalOpen, setDeleteConfirmationModalOpen] =
|
const [deleteConfirmationModalOpen, setDeleteConfirmationModalOpen] =
|
||||||
useState(false)
|
useState(false)
|
||||||
const [deleteConfirmationModalMessage, setDeleteConfirmationModalMessage] =
|
const [deleteConfirmationModalMessage, setDeleteConfirmationModalMessage] =
|
||||||
@@ -79,11 +78,6 @@ const TreeViewNode = ({
|
|||||||
mouseY: number
|
mouseY: number
|
||||||
} | null>(null)
|
} | null>(null)
|
||||||
|
|
||||||
// const isFileLaunchable = (filename: string) => {
|
|
||||||
// const availableRuntimes = Object.values(appContext.runTimes)
|
|
||||||
|
|
||||||
// }
|
|
||||||
|
|
||||||
const launchProgram = () => {
|
const launchProgram = () => {
|
||||||
const baseUrl = window.location.origin
|
const baseUrl = window.location.origin
|
||||||
window.open(`${baseUrl}/SASjsApi/stp/execute?_program=${node.relativePath}`)
|
window.open(`${baseUrl}/SASjsApi/stp/execute?_program=${node.relativePath}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user