import React from "react"; import dynamic from "next/dynamic"; import styled from "styled-components"; import { Allotment } from "allotment"; import "allotment/dist/style.css"; import useGraph from "src/store/useGraph"; export const StyledEditor = styled(Allotment)` position: relative !important; display: flex; background: ${({ theme }) => theme.BACKGROUND_SECONDARY}; height: calc(100vh - 67px); @media only screen and (max-width: 320px) { height: 100vh; } `; const JsonEditor = dynamic(() => import("src/containers/Editor/JsonEditor"), { ssr: false, }); const LiveEditor = dynamic(() => import("src/containers/Editor/LiveEditor"), { ssr: false, }); const Panes: React.FC = () => { const fullscreen = useGraph(state => state.fullscreen); return ( ); }; export default Panes;