Skip to content

Commit

Permalink
test camera
Browse files Browse the repository at this point in the history
  • Loading branch information
mingming-ma committed Dec 12, 2023
1 parent cd6c3d0 commit e3cb9d3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/PromptForm/ClipIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ export default function ClipIcon({ isDisabled = false, onFileSelected }: ClipIco

return (
<>
<Input
type="file"
ref={fileInputRef}
hidden
onChange={handleFileChange}
accept="image/*"
capture="environment"
/>
<Input type="file" ref={fileInputRef} hidden onChange={handleFileChange} accept="image/*" />
<IconButton
onClick={handleClick}
isRound
Expand Down

0 comments on commit e3cb9d3

Please sign in to comment.