Skip to content

Commit

Permalink
fix(configs): fix process env variable (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaJose authored Jun 23, 2022
1 parent 5afd4ca commit d2b7f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docs/components/SideNav/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { SideNavLogo } from './SideNavLogo';
import { SideNavMenu } from './SideNavMenu';
import { StyledFlex } from './styled';

const CodeSandboxUrl = process.env?.CODE_SANDBOX_URL ?? '';
const CodeSandboxUrl = process.env.CODE_SANDBOX_URL ?? '';

export const SideNav: React.FC = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ThemeContext } from 'styled-components';

import { Code, CodeSnippet, List } from '../components';

const CodeSandboxUrl = process.env?.CODE_SANDBOX_URL ?? '';
const CodeSandboxUrl = process.env.CODE_SANDBOX_URL ?? '';

const GettingStartedPage = () => {
const { spacing } = useContext(ThemeContext);
Expand Down

0 comments on commit d2b7f0e

Please sign in to comment.