chore: solve conflicts with main branch

This commit is contained in:
Pablo Lara committed 2024-08-09 13:10:52 +02:00
commit abc2a3fa72
12 files changed
+378 -29

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ export const SidebarWrap = () => {
return (
<div
className={clsx(
"relative flex h-screen flex-col !border-r-small border-divider transition-width",
"relative flex h-screen flex-col !border-r-small border-divider transition-width",
{
"w-72 p-6": !isCompact,
"w-16 items-center px-2 py-6": isCompact,
+18 -7
View File
@@ -1,14 +1,25 @@
import { Chip } from "@nextui-org/react";
import React from "react";
type Status = "completed" | "pending" | "cancelled";
type Status =
| "completed"
| "pending"
| "cancelled"
| "fail"
| "success"
| "muted";
export const statusColorMap: Record<Status, "success" | "danger" | "warning"> =
{
completed: "success",
pending: "warning",
cancelled: "danger",
};
export const statusColorMap: Record<
Status,
"success" | "danger" | "warning" | "default"
> = {
completed: "success",
pending: "warning",
cancelled: "danger",
fail: "danger",
success: "success",
muted: "default",
};
export const StatusBadge = ({ status }: { status: Status }) => {
return (