Skip to content

Commit

Permalink
upd model prevent
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangShuuu committed Dec 23, 2023
1 parent e6732d6 commit fe120a8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Binary file removed public/dashboard-preview.jpg
Binary file not shown.
Binary file added public/dashboard-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/app/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async function Home() {
<div className="mt-16 flow-root sm:mt-24">
<div className="-m-2 rounded-xl bg-gray-900/5 p-2 ring-1 ring-inset ring-gray-900/10 lg:-m-4 lg:rounded-2xl lg:p-4">
<Image
src="/dashboard-preview.jpg"
src="/dashboard-preview.png"
alt="product preview"
width={1364}
height={866}
Expand Down
6 changes: 5 additions & 1 deletion src/components/button/UploadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,11 @@ const UploadButton = ({ isSubscribed }: { isSubscribed: boolean }) => {
<Button>Upload PDF</Button>
</DialogTrigger>

<DialogContent>
<DialogContent
onPointerDownOutside={(e) => {
e.preventDefault()
}}
>
<UploadDropzone isSubscribed={isSubscribed} />
</DialogContent>
</Dialog>
Expand Down

0 comments on commit fe120a8

Please sign in to comment.