Spaces:
Sleeping
Sleeping
File size: 321 Bytes
2417a78 6ede83d 2417a78 6ede83d 2417a78 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
"use client";
import { useEffect, useState } from "react";
import Call from "./components/Call";
import App from "next/app";
export default function Home() {
const [daily, setDaily] = useState();
useEffect(() => {
if (daily) return;
setDaily(Daily.createCallObject());
}, [daily]);
return <App />;
}
|