Skip to content

Commit

Permalink
fix: missing environmentName
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Sep 26, 2024
1 parent 5886e95 commit fb94eb3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/components/Layout/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import styled from 'styled-components';

import { COLOR } from '@/constants/colors';
import { useElectronApi } from '@/hooks/useElectronApi';
import { useStore } from '@/hooks/useStore';

const { Text } = Typography;

Expand Down Expand Up @@ -51,8 +50,8 @@ const TopBarContainer = styled.div`

export const TopBar = () => {
const electronApi = useElectronApi();
const store = useStore();
const envName = store?.storeState?.environmentName;
// const store = useStore();
const envName = null; //store?.storeState?.environmentName;

return (
<TopBarContainer>
Expand Down

0 comments on commit fb94eb3

Please sign in to comment.