mirror of
https://github.com/covidpass-org/covidpass.git
synced 2025-02-23 15:07:44 +01:00
If you don't import things and define all your constants, you get build errors. Who knew. :|
This commit is contained in:
parent
7fc971ab79
commit
f4010d8918
@ -1,3 +1,4 @@
|
||||
import React, {useEffect, useState} from "react";
|
||||
import {useTranslation} from 'next-i18next';
|
||||
|
||||
import Head from 'next/head'
|
||||
@ -11,6 +12,7 @@ interface PageProps {
|
||||
function Page(props: PageProps): JSX.Element {
|
||||
const { t } = useTranslation('common');
|
||||
const [passCount, setPassCount] = useState<string>('');
|
||||
const hitcountHost = 'https://stats.vaccine-ontario.ca';
|
||||
|
||||
useEffect(() => {
|
||||
if (passCount.length == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user