tagging release w.t.f.

This commit is contained in:
2022-04-20 14:34:09 +02:00
parent bfbd2fa77c
commit d2f30a1569
4 changed files with 25 additions and 1 deletions

View File

@@ -1,11 +1,19 @@
import '../styles/globals.css'
import { SessionProvider } from "next-auth/react"
import Head from "next/head";
import { useEffect } from "react";
import { init } from "@socialgouv/matomo-next";
const MATOMO_URL = process.env.NEXT_PUBLIC_MATOMO_URL;
const MATOMO_SITE_ID = process.env.NEXT_PUBLIC_MATOMO_SITE_ID;
function MyApp({
Component,
pageProps: { session, ...pageProps },
}) {
useEffect(() => {
init({ url: MATOMO_URL, siteId: MATOMO_SITE_ID });
}, []);
return (
<SessionProvider session={session}>
<Head>

View File

@@ -14,7 +14,7 @@ export default function Home() {
const { data: session } = useSession();
const [selectedIndex, setSelectedIndex] = useState(0);
const [tabs] = useState(["auto", "manual"]);
const [realTabs] = useState([Generator, Manual]);
//const [realTabs] = useState([Generator, Manual]);
if (session) {
return (