Another hotfix
This commit is contained in:
parent
d0ddb0f7f8
commit
9d50b9f619
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { useState } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { IoEnterOutline, IoTrashBinOutline } from "react-icons/io5";
|
||||
import { env } from "env.mjs";
|
||||
import LoadingIndicator from "@/_components/LoadingIndicator";
|
||||
|
@ -49,6 +49,10 @@ const RoomList = () => {
|
|||
});
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
void getRoomsHandler();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center gap-8">
|
||||
{/* Modal for Adding Rooms */}
|
||||
|
|
Loading…
Add table
Reference in a new issue