Jon Taylor commited on
Commit
0aa52a4
·
1 Parent(s): fc610e2

added use client

Browse files
frontend/app/components/CreateRoom.js CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import { ArrowRightIcon } from "@heroicons/react/20/solid";
2
  import { useState } from "react";
3
  import { apiUrl } from "../utils";
 
1
+ "use client";
2
+
3
  import { ArrowRightIcon } from "@heroicons/react/20/solid";
4
  import { useState } from "react";
5
  import { apiUrl } from "../utils";
frontend/app/components/Joining.js CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import { useDaily } from "@daily-co/daily-react";
2
  import { useEffect } from "react";
3
 
 
1
+ "use client";
2
+
3
  import { useDaily } from "@daily-co/daily-react";
4
  import { useEffect } from "react";
5