mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 08:28:35 +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";
|
||||
import { Button } from "@rallly/ui/button";
|
||||
import { Card } from "@rallly/ui/card";
|
||||
import { Flex } from "@rallly/ui/flex";
|
||||
import { Icon } from "@rallly/ui/icon";
|
||||
import { PaginationState } from "@tanstack/react-table";
|
||||
import { BarChart2Icon, PlusIcon } from "lucide-react";
|
||||
|
@ -84,9 +83,9 @@ export function PollsList({ list }: { list?: string }) {
|
|||
if (!data) {
|
||||
// return a table using <Skeleton /> components
|
||||
return (
|
||||
<Flex className="h-screen" align="center" justify="center">
|
||||
<div className="flex h-96 items-center justify-center">
|
||||
<Spinner className="text-muted-foreground" />
|
||||
</Flex>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue