Skip to content

The Open Source DocuSign Alternative.

ux

Timur Ercan167122d58f14
diff --git a/apps/web/pages/documents.tsx b/apps/web/pages/documents.tsx
index f1c892cc4..28d440a37 100644
--- a/apps/web/pages/documents.tsx
+++ b/apps/web/pages/documents.tsx
@@ -21,7 +21,7 @@ const DocumentsPage: NextPageWithLayout = (req, res) => {
}, []);
const getDocuments = async () => {
- setLoading(true);
+ if (!documents.length) setLoading(true);
fetch("/api/documents", {
headers: {
"Content-Type": "application/json",