From 9a80c0a767c6a35a489b9d45654ae60f7ddc6794 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 4 Jul 2024 11:53:01 +0700
Subject: <iman> update stock opname logic

---
 src/modules/result/index.tsx | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/modules/result/index.tsx')

diff --git a/src/modules/result/index.tsx b/src/modules/result/index.tsx
index cbb2173..095b4db 100644
--- a/src/modules/result/index.tsx
+++ b/src/modules/result/index.tsx
@@ -1,15 +1,17 @@
 import { Spacer } from "@nextui-org/react"
 import Filter from "./components/Filter"
-import styles from "./result.module.css"
 import Table from "./components/Table"
 import MoreMenu from "./components/MoreMenu"
+import { Suspense } from "react"
 
 const Result = () => {
   return (
     <>
-      <div className={styles.wrapper}>
-        <div className={styles.title}>Stock Opname Result</div>
-        <MoreMenu />
+      <div className="flex justify-between items-center">
+        <div className="font-semibold text-xl">Stock Opname Result</div>
+        <Suspense fallback={<div>Loading...</div>}>
+          <MoreMenu />
+        </Suspense>
       </div>
       <Spacer y={4} />
       <Filter />
-- 
cgit v1.2.3

