diff --git a/studio/src/components/GlobalNav/Sidebar.js b/studio/src/components/GlobalNav/Sidebar.js index 2337a416..ca5ac390 100644 --- a/studio/src/components/GlobalNav/Sidebar.js +++ b/studio/src/components/GlobalNav/Sidebar.js @@ -194,40 +194,36 @@ function Sidebar({ permission, orgs, loading, applications, menuKey, signOut, or } /> ) : ( - <> - {details && ( - - )} - + )} diff --git a/studio/src/pages/dashboard/index.js b/studio/src/pages/dashboard/index.js index 5aae177d..940cbbd6 100644 --- a/studio/src/pages/dashboard/index.js +++ b/studio/src/pages/dashboard/index.js @@ -7,10 +7,6 @@ import { Link } from 'react-router-dom'; import { Helmet } from 'react-helmet'; import Loader from '../../components/Loader'; -const styles = { - justifyContent: 'center', -}; - function Dashboard() { const { Title } = Typography; const { spaces, info } = useSelector(({ spaces, info }) => ({ diff --git a/studio/src/pages/spaces/components/SpaceCreateForm.js b/studio/src/pages/spaces/components/SpaceCreateForm.js index 8610c9c7..01719ff0 100644 --- a/studio/src/pages/spaces/components/SpaceCreateForm.js +++ b/studio/src/pages/spaces/components/SpaceCreateForm.js @@ -1,18 +1,13 @@ import React from 'react'; import { useSelector } from 'react-redux'; -import { Button, Form, Input, Select, Row, Col, ConfigProvider } from 'antd'; +import { Button, Form, Input, Select, ConfigProvider } from 'antd'; import { maker } from './../../../utils/sluger'; import MonacoEditor from '../../../components/MonacoEditor'; import getJsonValue from '../../../utils/getJsonValue'; -import { SlugInput } from '../../../components/FormItems'; const { Option } = Select; const { TextArea } = Input; -const tailLayout = { - wrapperCol: { offset: 8, span: 16 }, -}; - const SpaceCreateForm = ({ onCreate }) => { const [form] = Form.useForm(); const orgs = useSelector((state) => state.spaces.orgs); @@ -86,10 +81,6 @@ const SpaceCreateForm = ({ onCreate }) => { - - - -