fix: 2 missed process.env spots on frontend

This commit is contained in:
Tom Moor
2020-07-18 11:33:34 -07:00
parent 67981a351e
commit ec3adc6d1c
3 changed files with 6 additions and 3 deletions

View File

@@ -2,12 +2,13 @@
import * as React from "react";
import styled from "styled-components";
import OutlineLogo from "./OutlineLogo";
import env from "env";
type Props = {
href?: string,
};
function Branding({ href = process.env.URL }: Props) {
function Branding({ href = env.URL }: Props) {
return (
<Link href={href}>
<OutlineLogo size={16} />&nbsp;Outline