diff options
Diffstat (limited to 'ui/src/pages/Runbooks.tsx')
| -rw-r--r-- | ui/src/pages/Runbooks.tsx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ui/src/pages/Runbooks.tsx b/ui/src/pages/Runbooks.tsx deleted file mode 100644 index a0b844a6..00000000 --- a/ui/src/pages/Runbooks.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import Editor from "@/components/runbooks/editor/Editor"; -import List from "@/components/runbooks/List"; - -import { useStore } from "@/state/store"; - -export default function Runbooks() { - const currentRunbook = useStore((store) => store.currentRunbook); - - return ( - <div className="flex w-full !max-w-full flex-row "> - <List /> - {currentRunbook && ( - <div className="flex w-full"> - <Editor /> - </div> - )} - - {!currentRunbook && ( - <div className="flex align-middle justify-center flex-col h-screen w-full"> - <h1 className="text-center">Select or create a runbook</h1> - </div> - )} - </div> - ); -} |
