Skip to content

Commit

Permalink
Merge pull request #360 from giselles-ai/enable-to-upload-multiple-fi…
Browse files Browse the repository at this point in the history
…les-from-file-selection

Enable multiple file uploads in properties panel
  • Loading branch information
satococoa authored Feb 7, 2025
2 parents 6042e96 + 4eb77e4 commit 0ca9ec8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/components/properties-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import { WilliIcon } from "@giselles-ai/icons/willi";
import * as DialogPrimitive from "@radix-ui/react-dialog";
import * as TabsPrimitive from "@radix-ui/react-tabs";
import { upload } from "@vercel/blob/client";
import { readStreamableValue } from "ai/rsc";
import clsx from "clsx/lite";
import {
ArrowUpFromLineIcon,
CheckCircle,
CheckIcon,
ChevronsUpDownIcon,
CornerDownRightIcon,
Expand Down Expand Up @@ -46,7 +44,6 @@ import { usePropertiesPanel } from "../contexts/properties-panel";
import { useToast } from "../contexts/toast";
import { textGenerationPrompt } from "../lib/prompts";
import {
createArtifactId,
createConnectionId,
createFileId,
createNodeHandleId,
Expand All @@ -62,13 +59,11 @@ import {
import type {
FileContent,
FileData,
FileId,
FilesContent,
Node,
NodeHandle,
NodeId,
Text,
TextArtifactObject,
TextContent,
TextGenerateActionContent,
} from "../types";
Expand Down Expand Up @@ -2021,6 +2016,7 @@ function TabsContentFiles({
type="file"
onChange={onFileChange}
className="hidden"
multiple
/>
</span>
</div>
Expand Down

0 comments on commit 0ca9ec8

Please sign in to comment.