Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Mar 28, 2024
1 parent ce77a2f commit 0723dc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dev/components/MyApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default (): JSX.Element => {

<UploadButton
options={{ apiKey: "free", multi: true }}
onUpdate={x => setFiles(x.uploadedFiles.map(x => x.fileUrl))}>
onUpdate={x => setFiles(x.uploadedFiles.map(x => x.fileUrl))}
>
{({ onClick }) => <button onClick={onClick}>Upload a file...</button>}
</UploadButton>
<UploadDropzone
Expand Down

0 comments on commit 0723dc4

Please sign in to comment.