mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-20 10:31:15 +01:00
chore: lint && format codebase
This commit is contained in:
@@ -4,8 +4,9 @@ import { useForm } from "@tanstack/react-form"
|
||||
import { Check, FileImage, FileType, Plus, X } from "lucide-react"
|
||||
import { useState } from "react"
|
||||
import { toast } from "sonner"
|
||||
import { IconNameCombobox } from "@/components/icon-name-combobox"
|
||||
import { revalidateAllSubmissions } from "@/app/actions/submissions"
|
||||
import { ExperimentalWarning } from "@/components/experimental-warning"
|
||||
import { IconNameCombobox } from "@/components/icon-name-combobox"
|
||||
import {
|
||||
AlertDialog,
|
||||
AlertDialogAction,
|
||||
@@ -26,7 +27,6 @@ import { Dropzone, DropzoneContent, DropzoneEmptyState } from "@/components/ui/s
|
||||
import { Textarea } from "@/components/ui/textarea"
|
||||
import { useExistingIconNames } from "@/hooks/use-submissions"
|
||||
import { pb } from "@/lib/pb"
|
||||
import { revalidateAllSubmissions } from "@/app/actions/submissions"
|
||||
|
||||
interface VariantConfig {
|
||||
id: string
|
||||
@@ -298,7 +298,8 @@ export function AdvancedIconSubmissionFormTanStack() {
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>Confirm Submission</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
This icon submission form is a work-in-progress and is currently in an experimentation phase. Your submission will not be reviewed or processed at this time. We're using this to gather feedback and improve the experience.
|
||||
This icon submission form is a work-in-progress and is currently in an experimentation phase. Your submission will not be
|
||||
reviewed or processed at this time. We're using this to gather feedback and improve the experience.
|
||||
<br />
|
||||
<br />
|
||||
Do you still want to proceed with submitting your icon?
|
||||
|
||||
@@ -8,6 +8,7 @@ import Link from "next/link"
|
||||
import type React from "react"
|
||||
import { useCallback, useState } from "react"
|
||||
import { toast } from "sonner"
|
||||
import { revalidateAllSubmissions } from "@/app/actions/submissions"
|
||||
import { IconNameCombobox } from "@/components/icon-name-combobox"
|
||||
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
|
||||
import { Button } from "@/components/ui/button"
|
||||
@@ -18,7 +19,6 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/comp
|
||||
import { BASE_URL, REPO_PATH } from "@/constants"
|
||||
import { pb } from "@/lib/pb"
|
||||
import { formatIconName } from "@/lib/utils"
|
||||
import { revalidateAllSubmissions } from "@/app/actions/submissions"
|
||||
import { MagicCard } from "./magicui/magic-card"
|
||||
import { Badge } from "./ui/badge"
|
||||
import { Dropzone, DropzoneContent, DropzoneEmptyState } from "./ui/shadcn-io/dropzone"
|
||||
|
||||
@@ -16,9 +16,7 @@ export function ExperimentalWarning({ message }: ExperimentalWarningProps) {
|
||||
<AlertTriangle className="text-amber-600 dark:text-amber-500 size-8" />
|
||||
<div className="col-start-2 space-y-4">
|
||||
<AlertTitle className="text-amber-900 dark:text-amber-100 text-2xl font-bold">Experimental Feature</AlertTitle>
|
||||
<AlertDescription className="text-amber-800 dark:text-amber-200 text-base leading-relaxed">
|
||||
{defaultMessage}
|
||||
</AlertDescription>
|
||||
<AlertDescription className="text-amber-800 dark:text-amber-200 text-base leading-relaxed">{defaultMessage}</AlertDescription>
|
||||
<Button className="feedback-button mt-4" variant="outline" size="lg">
|
||||
Send feedback
|
||||
</Button>
|
||||
@@ -26,4 +24,3 @@ export function ExperimentalWarning({ message }: ExperimentalWarningProps) {
|
||||
</Alert>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user