diff --git a/src/components/blocks/LeftNav.js b/src/components/blocks/LeftNav.js index 60c7ae01..55995540 100644 --- a/src/components/blocks/LeftNav.js +++ b/src/components/blocks/LeftNav.js @@ -1,7 +1,6 @@ import React, { useEffect, useState } from 'react'; import styled, { withTheme } from 'styled-components'; import { - ClimateWarehouseLogo, ButtonText, WarehouseIcon, RegistryIcon, @@ -30,12 +29,6 @@ const NavContainer = styled('div')` background-color: #3b8ee0; `; -const LogoContainer = styled('div')` - display: flex; - justify-content: center; - margin: 20.46px auto 3.5344rem auto; -`; - const StyledCreateOrgButtonContainer = styled('div')` h4 { color: white; @@ -94,9 +87,6 @@ const LeftNav = withTheme(({ children }) => { return ( - - - @@ -109,8 +99,7 @@ const LeftNav = withTheme(({ children }) => { onClick={() => { dispatch(resetRefreshPrompt); setLocation('projects'); - }} - > + }}>
@@ -120,8 +109,7 @@ const LeftNav = withTheme(({ children }) => { onClick={() => { dispatch(resetRefreshPrompt); setLocation('units'); - }} - > + }}> @@ -138,8 +126,7 @@ const LeftNav = withTheme(({ children }) => { onClick={() => { dispatch(resetRefreshPrompt); setLocation('my-projects'); - }} - > + }}>
@@ -149,8 +136,7 @@ const LeftNav = withTheme(({ children }) => { onClick={() => { dispatch(resetRefreshPrompt); setLocation('my-units'); - }} - > + }}> @@ -160,21 +146,18 @@ const LeftNav = withTheme(({ children }) => { setConfirmCreateOrgIsVisible(true)} - disabled - > + disabled>
setConfirmCreateOrgIsVisible(true)} - disabled - > + disabled> setCreateOrgIsVisible(true)} - > + onClick={() => setCreateOrgIsVisible(true)}> diff --git a/src/components/blocks/LocaleSwitcher.js b/src/components/blocks/LocaleSwitcher.js index b01eb5ef..66252759 100644 --- a/src/components/blocks/LocaleSwitcher.js +++ b/src/components/blocks/LocaleSwitcher.js @@ -2,9 +2,9 @@ import React from 'react'; import styled, {withTheme} from 'styled-components'; import {useDispatch, useSelector} from 'react-redux'; import {Select, MenuItem} from '@mui/material'; -import {LocaleIcon} from '../../components'; import {LANGUAGE_CODES} from '../../translations'; import {setLocale} from '../../store/actions/app'; +import { SelectSizeEnum, SelectTypeEnum } from '..'; const Container = styled('div')` display: flex; @@ -27,10 +27,10 @@ const LocaleSwitcher = withTheme(() => { return ( -