Skip to content

Commit

Permalink
fix: white header text
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 22, 2023
1 parent 26a64e7 commit a2b6dfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/blocks/LeftNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const StyledTitleContainer = styled('div')`
margin: 46px 0px 1.3125rem 1.3rem;
`;

const LeftNav = withTheme(({ children }) => {
const LeftNav = withTheme(({ children, theme }) => {
const location = useLocation();
const [confirmCreateOrgIsVisible, setConfirmCreateOrgIsVisible] =
useState(false);
Expand Down Expand Up @@ -110,7 +110,7 @@ const LeftNav = withTheme(({ children }) => {
<NavContainer>
<StyledTitleContainer>
<WarehouseIcon height={24} width={24} color="#6e7d7f" />
<ButtonText>
<ButtonText color={theme.colors.default.primary}>
<FormattedMessage id="warehouse" />
</ButtonText>
</StyledTitleContainer>
Expand All @@ -133,7 +133,7 @@ const LeftNav = withTheme(({ children }) => {
<StyledTitleContainer disabled={!isMyOrgCreated || isMyOrgPending}>
{isMyOrgPending && <CircularProgress size={20} thickness={5} />}
{!isMyOrgPending && <RegistryIcon height={20} width={20} />}
<ButtonText>
<ButtonText color={theme.colors.default.primary}>
<FormattedMessage id="my-registry" />
</ButtonText>
</StyledTitleContainer>
Expand Down

0 comments on commit a2b6dfb

Please sign in to comment.