diff --git a/src/Router.jsx b/src/Router.jsx index be8a0a8..f88f731 100644 --- a/src/Router.jsx +++ b/src/Router.jsx @@ -2,7 +2,7 @@ import React from "react"; import { Routes, BrowserRouter, Route } from "react-router-dom"; import HomePage from "./pages/Home/HomePage.jsx"; import Executions from "./components/Executions.jsx"; -import Scripts from "./components/Scripts.jsx"; +import ScriptsPage from "./pages/Script/ScriptsPage.jsx"; import Dagre from "./components/dagre/Dagre.jsx"; import NoMatch from "./components/NoMatch.jsx"; import Layout from "./layouts/Layout.jsx"; @@ -13,7 +13,7 @@ const Router = () => { }> } /> - } /> + } /> } /> } /> } /> diff --git a/src/components/Scripts.jsx b/src/components/Scripts.jsx deleted file mode 100644 index 0581217..0000000 --- a/src/components/Scripts.jsx +++ /dev/null @@ -1,19 +0,0 @@ -import React from "react"; -import { Grid } from "semantic-ui-react"; -import ScriptsTree from "./treebeard/ScriptsTree"; - -class Scripts extends React.Component { - render() { - return ( - - - - - - - - ); - } -} - -export default Scripts; diff --git a/src/components/treebeard/ScriptsTree.jsx b/src/components/treebeard/ScriptsTree.jsx index 591b69d..aeacddb 100644 --- a/src/components/treebeard/ScriptsTree.jsx +++ b/src/components/treebeard/ScriptsTree.jsx @@ -101,8 +101,6 @@ class ScriptsTree extends React.Component { } else { return ( -

Scripts

-

Right click on directory/file to add/remove file

{ + return ( + + + + Scripts + + + Right-click on directory/file to add/remove file + + + + + ); +}; + +export default ScriptsPage;