Fix
This commit is contained in:
parent
819cb03e9b
commit
74c4af3ebe
1 changed files with 9 additions and 9 deletions
|
@ -14,14 +14,14 @@ import { useParams } from "next/navigation";
|
||||||
import { FaShieldAlt } from "react-icons/fa";
|
import { FaShieldAlt } from "react-icons/fa";
|
||||||
import { GiStarFormation } from "react-icons/gi";
|
import { GiStarFormation } from "react-icons/gi";
|
||||||
import {
|
import {
|
||||||
IoCheckmarkCircleOutline,
|
IoCheckmarkCircleOutline,
|
||||||
IoCopyOutline,
|
IoCopyOutline,
|
||||||
IoDownloadOutline,
|
IoDownloadOutline,
|
||||||
IoEyeOffOutline,
|
IoEyeOffOutline,
|
||||||
IoEyeOutline,
|
IoEyeOutline,
|
||||||
IoHourglassOutline,
|
IoHourglassOutline,
|
||||||
IoReloadOutline,
|
IoReloadOutline,
|
||||||
IoSaveOutline,
|
IoSaveOutline,
|
||||||
} from "react-icons/io5";
|
} from "react-icons/io5";
|
||||||
import { RiVipCrownFill } from "react-icons/ri";
|
import { RiVipCrownFill } from "react-icons/ri";
|
||||||
import NoRoomUI from "./NoRoomUI";
|
import NoRoomUI from "./NoRoomUI";
|
||||||
|
@ -39,7 +39,7 @@ const VoteUI = () => {
|
||||||
|
|
||||||
const [votesFromDb, setVotesFromDb] = useState<VoteResponse>(undefined);
|
const [votesFromDb, setVotesFromDb] = useState<VoteResponse>(undefined);
|
||||||
|
|
||||||
const getRoomHandler = async () => {
|
const getRoomHandler = () => {
|
||||||
fetch(`/api/internal/room/${roomId}`, {
|
fetch(`/api/internal/room/${roomId}`, {
|
||||||
cache: "no-cache",
|
cache: "no-cache",
|
||||||
method: "GET",
|
method: "GET",
|
||||||
|
|
Loading…
Add table
Reference in a new issue