mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
💄 Update spinner position
This commit is contained in:
parent
871c08368c
commit
91badcb48b
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
"use client";
|
"use client";
|
||||||
import { Button } from "@rallly/ui/button";
|
import { Button } from "@rallly/ui/button";
|
||||||
import { Card } from "@rallly/ui/card";
|
import { Card } from "@rallly/ui/card";
|
||||||
import { Flex } from "@rallly/ui/flex";
|
|
||||||
import { Icon } from "@rallly/ui/icon";
|
import { Icon } from "@rallly/ui/icon";
|
||||||
import { PaginationState } from "@tanstack/react-table";
|
import { PaginationState } from "@tanstack/react-table";
|
||||||
import { BarChart2Icon, PlusIcon } from "lucide-react";
|
import { BarChart2Icon, PlusIcon } from "lucide-react";
|
||||||
|
@ -84,9 +83,9 @@ export function PollsList({ list }: { list?: string }) {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
// return a table using <Skeleton /> components
|
// return a table using <Skeleton /> components
|
||||||
return (
|
return (
|
||||||
<Flex className="h-screen" align="center" justify="center">
|
<div className="flex h-96 items-center justify-center">
|
||||||
<Spinner className="text-muted-foreground" />
|
<Spinner className="text-muted-foreground" />
|
||||||
</Flex>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue