Skip to content

Commit

Permalink
dialog closing works
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Jun 19, 2023
1 parent be0b5c7 commit cfc7f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/new-post-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function NewPostButton() {

// TODO: change to form
return (
<Dialog open={open}>
<Dialog onOpenChange={setOpen} open={open}>
<DialogTrigger asChild>
<Button onClick={() => setOpen(true)} variant="ghost" size="sm">
<Icons.add />
Expand Down

1 comment on commit cfc7f24

@vercel
Copy link

@vercel vercel bot commented on cfc7f24 Jun 19, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

nozee – ./

nozee-git-main-sehyunc.vercel.app
nozee.vercel.app
nozee.xyz
www.nozee.xyz
nozee-sehyunc.vercel.app

Please sign in to comment.