ENCOA-316 ENCOA-317:

Refactor components to remove Layout wrapper and pass it in the App component , implemented a skeleton feedback while loading page and improved API calls related to Dashboard/User Profile
This commit is contained in:
José Marques Lima
2025-01-25 19:38:29 +00:00
parent 4d788e13b4
commit 37216e2a5a
56 changed files with 4440 additions and 2979 deletions

View File

@@ -1,4 +1,3 @@
import Layout from "@/components/High/Layout";
import TicketDisplay from "@/components/High/TicketDisplay";
import Select from "@/components/Low/Select";
import Modal from "@/components/Modal";
@@ -228,7 +227,7 @@ export default function Tickets() {
</Head>
<ToastContainer />
{user && (
<Layout user={user} className="gap-6">
<>
<h1 className="text-2xl font-semibold">Tickets</h1>
<div className="flex w-full items-center gap-4">
@@ -317,7 +316,7 @@ export default function Tickets() {
))}
</tbody>
</table>
</Layout>
</>
)}
</>
);