tagging release w.t.f.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user