Showing rooms works
This commit is contained in:
parent
b0ebeda23a
commit
f93cabb99d
17 changed files with 265 additions and 59 deletions
|
@ -0,0 +1,10 @@
|
|||
import { useState } from "react";
|
||||
import { UsersData } from "../background/types/roomData";
|
||||
|
||||
function useRoomData() {
|
||||
const [roomData, setRoomData] = useState<UsersData>();
|
||||
|
||||
return { roomData, setRoomData };
|
||||
}
|
||||
|
||||
export default useRoomData;
|
Loading…
Add table
Add a link
Reference in a new issue