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:
@@ -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>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user