refactor(host): migrate from docker swarm to kubernetes
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Spinner } from "@/components/ui/spinner";
|
||||
import type { MaybePromise } from "bun";
|
||||
import { Check } from "lucide-react";
|
||||
import type { ComponentProps, ReactNode } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Spinner } from "@/components/ui/spinner";
|
||||
|
||||
export function ActionButton({
|
||||
action,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
"use client";
|
||||
|
||||
import { useVirtualizer } from "@tanstack/react-virtual";
|
||||
import { Check, ChevronsUpDown } from "lucide-react";
|
||||
import * as React from "react";
|
||||
import { useVirtualizer } from "@tanstack/react-virtual";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Command,
|
||||
|
||||
@@ -9,8 +9,6 @@ import {
|
||||
ZoomOutIcon,
|
||||
} from "lucide-react";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
|
||||
import { useFileUpload } from "@/hooks/use-file-upload";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Cropper,
|
||||
@@ -27,6 +25,7 @@ import {
|
||||
DialogTitle,
|
||||
} from "@/components/ui/dialog";
|
||||
import { Slider } from "@/components/ui/slider";
|
||||
import { useFileUpload } from "@/hooks/use-file-upload";
|
||||
|
||||
// Define type for pixel crop area
|
||||
type Area = { x: number; y: number; width: number; height: number };
|
||||
|
||||
+2
-2
@@ -1,14 +1,14 @@
|
||||
// oxlint-disable react-hooks/exhaustive-deps
|
||||
"use client";
|
||||
|
||||
import { Divide } from "lucide-react";
|
||||
import * as React from "react";
|
||||
import { toast } from "sonner";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { FormSubmitResult } from "./form-submit";
|
||||
import { DialogClose } from "./ui/dialog";
|
||||
import { Label } from "./ui/label";
|
||||
import { Tabs, TabsList, TabsTrigger } from "./ui/tabs";
|
||||
import { Divide } from "lucide-react";
|
||||
import type { FormSubmitResult } from "./form-submit";
|
||||
|
||||
const AUTOSAVE_TTL_MS = 10 * 60 * 1000;
|
||||
const STORAGE_PREFIX = "form:autosave:";
|
||||
|
||||
Reference in New Issue
Block a user