mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
make.sh more visible error, header fix
This commit is contained in:
parent
199c5fe4b1
commit
d94bf74663
2 changed files with 3 additions and 1 deletions
2
make.sh
2
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}")
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue