diff --git a/make.sh b/make.sh index 496c8ee..5f7a09c 100755 --- a/make.sh +++ b/make.sh @@ -3,7 +3,7 @@ scriptPath=$(dirname -- "${0}") domainPath="${scriptPath}/../../data/domain" if [ ! -f "${domainPath}" ]; then - echo "${domainPath} does not exist!" + echo -e "\033[0;41m${domainPath} does not exist!\033[0m" exit 1 fi domain=$(cat "${domainPath}") diff --git a/src/components/header.jsx b/src/components/header.jsx index 29a240f..88ec388 100644 --- a/src/components/header.jsx +++ b/src/components/header.jsx @@ -2,6 +2,8 @@ import React from 'react' import Head from 'next/head' import { useQueryClient } from 'react-query' +import constants from '../constants' + export default function Header(props) { const { title } = props const queryClient = useQueryClient()