diff --git a/src/routes/requests/+page.svelte b/src/routes/requests/+page.svelte
index d3e89d9..6506b94 100644
--- a/src/routes/requests/+page.svelte
+++ b/src/routes/requests/+page.svelte
@@ -1,10 +1,11 @@
- {#if data && !isDataError}
+ {#if data}
-
+
{:else}
diff --git a/src/routes/requests/+page.ts b/src/routes/requests/+page.ts
deleted file mode 100644
index 5d8af7f..0000000
--- a/src/routes/requests/+page.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { browser } from '$app/environment';
-import { PUBLIC_API_URL } from '$env/static/public';
-
-export const load = async ({ fetch }) => {
- if (browser) {
- const reqId = localStorage.getItem('registerRequest');
- const uri = `/auth/requests/${reqId}`;
- const url = PUBLIC_API_URL + uri;
- const response = await fetch(url).then((res) => res.json());
- return response;
- }
-};
diff --git a/src/types/request.ts b/src/types/request.ts
index 9ea8ea4..6083aff 100644
--- a/src/types/request.ts
+++ b/src/types/request.ts
@@ -16,12 +16,6 @@ export interface RequestData {
processedBy: string | null;
}
-export interface RequestResponse {
- status: 'success' | 'error';
- message: 'Request found' | 'Invalid id' | 'Request not found';
- data?: RequestData;
-}
-
export interface RequestsData extends RequestData {
_id: string;
}