Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 11, 2023
1 parent 19831b9 commit f57c633
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ export function DataTableRow({ data, deleteFile, createFolder, deleteFolder }) {
<DropdownMenuItem>Delete</DropdownMenuItem>
</AlertDialogTrigger>
)}
{/* <DropdownMenuItem>Settings</DropdownMenuItem> */}
</DropdownMenuContent>
</DropdownMenu>
</div>
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion packages/jobs/src/transactions/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ client.defineJob({
await generateExport.update("generate-export-done", {
state: "success",
data: {
url: "https://service.midday.ai",
filePath: "exports/export-2022-01-01-2023-01-01.zip",
fileName: "export-2022-01-01-2023-01-01.zip",
progress: 100,
totalItems: data.meta.count,
},
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/components/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { type VariantProps, cva } from "class-variance-authority";
import { X } from "lucide-react";
import * as React from "react";
import { cn } from "../utils";
import { Icons } from "./icons";

const ToastProvider = ToastPrimitives.Provider;

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function Toaster() {
return (
<Toast key={id} {...props} className="flex flex-col">
<div className="flex w-full">
<div className="space-y-2 w-full">
<div className="space-y-2 w-full justify-center">
<div className="flex space-x-2 justify-between">
<div className="flex space-x-2 items-center">
{props?.variant && (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/use-toast.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Inspired by react-hot-toast library
import * as React from "react";

import type { ToastActionElement, ToastProps } from "./toast";

const TOAST_LIMIT = 1;
Expand All @@ -12,6 +11,7 @@ type ToasterToast = ToastProps & {
description?: React.ReactNode;
action?: ToastActionElement;
progress?: number;
footer?: React.ReactNode;
};

const actionTypes = {
Expand Down

0 comments on commit f57c633

Please sign in to comment.