+ table.setPageIndex(0)}
+ disabled={!table.getCanPreviousPage()}
+ >
+ Go to first page
+
+
+ table.previousPage()}
+ disabled={!table.getCanPreviousPage()}
+ >
+ Go to previous page
+
+
+ table.nextPage()}
+ disabled={!table.getCanNextPage()}
+ >
+ Go to next page
+
+
+ table.setPageIndex(table.getPageCount() - 1)}
+ disabled={!table.getCanNextPage()}
+ >
+ Go to last page
+
+
+
+
+
+ )}
+
+ )
+}
diff --git a/frontend/src/components/Common/ErrorComponent.tsx b/frontend/src/components/Common/ErrorComponent.tsx
new file mode 100644
index 0000000000..e4a97d29cd
--- /dev/null
+++ b/frontend/src/components/Common/ErrorComponent.tsx
@@ -0,0 +1,29 @@
+import { Link } from "@tanstack/react-router"
+import { Button } from "@/components/ui/button"
+
+const ErrorComponent = () => {
+ return (
+
-
-
- Confirmation Required
-
-
-
- All your account data will be{" "}
- permanently deleted. If you are sure, please
- click "Confirm" to proceed. This action cannot
- be undone.
-
-
+