import Head from "next/head"; import { Inter } from "@next/font/google"; import styles from "@/styles/Home.module.css"; import { useState } from "react"; const inter = Inter({ subsets: ["latin"] }); type TS = { timestamp: string; state: string; result: string; }; export default function Home() { const [message, setMessage] = useState(""); const [on, setOn] = useState(false); const [logs, setLogs] = useState([]); return ( <> Fabaccess Demo

Activate machine via Fabaccess using w3c-did

{message}

LOG

    {logs.map((l) => { return (
  • {l.state} @{l.timestamp}
    RESULT: {l.result}
  • ); })}
); }