Skip to content

Commit

Permalink
chore: minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
joschan21 committed Feb 20, 2023
1 parent 33a8899 commit 1bf1d39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
"use client"

import { FC } from "react"
import { Button, buttonVariants } from "@/ui/button"
import { FileInput } from "@/ui/file-input"
import { FC } from "react"

import {
Tooltip,
TooltipContent,
TooltipTrigger
TooltipTrigger,
} from "@/components/ui/tooltip"

export const metadata = {
Expand Down
10 changes: 5 additions & 5 deletions src/components/ui/file-input.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
"use client"

import { useS3Upload } from "@/src/hooks/use-s3-upload"
import { useToast } from "@/src/hooks/use-toast"
import ImageUpload from "@/ui/image-upload"
import {
forwardRef,
useReducer,
useState,
type ChangeEvent,
type DragEvent,
type DragEvent
} from "react"
import { ALLOWED_FILE_TYPES } from "@/src/config/s3"
import { useS3Upload } from "@/src/hooks/use-s3-upload"
import { useToast } from "@/src/hooks/use-toast"
import ImageUpload from "@/ui/image-upload"

import { MAX_FILE_SIZE } from "@/config/image"
import { cn, validateFileType } from "@/lib/utils"
Expand Down Expand Up @@ -298,3 +297,4 @@ const FileInput = forwardRef<HTMLInputElement, InputProps>(
FileInput.displayName = "FileInput"

export { FileInput }

1 comment on commit 1bf1d39

@vercel
Copy link

@vercel vercel bot commented on 1bf1d39 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.