aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/tables/PageControl.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/tables/PageControl.tsx')
-rw-r--r--frontend/src/components/tables/PageControl.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/src/components/tables/PageControl.tsx b/frontend/src/components/tables/PageControl.tsx
index 0767593de..bcdf290e3 100644
--- a/frontend/src/components/tables/PageControl.tsx
+++ b/frontend/src/components/tables/PageControl.tsx
@@ -1,6 +1,7 @@
-import { useIsLoading } from "@/contexts";
-import { Group, Pagination, Text } from "@mantine/core";
import { FunctionComponent, useEffect } from "react";
+import { Group, Pagination, Text } from "@mantine/core";
+import { useIsLoading } from "@/contexts";
+
interface Props {
count: number;
index: number;
@@ -28,7 +29,7 @@ const PageControl: FunctionComponent<Props> = ({
}, [total, goto]);
return (
- <Group p={16} position="apart">
+ <Group p={16} justify="space-between">
<Text size="sm">
Show {start} to {end} of {total} entries
</Text>