Skip to content

Commit

Permalink
Enter key Press Now working on Create new site
Browse files Browse the repository at this point in the history
  • Loading branch information
surajpathakcs committed Dec 20, 2024
1 parent 9df5366 commit 223124e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/controlModals/create-new-site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ export function CreateNewSite({ params }: CreateSiteProps) {
)}
</div>
</div>
</form>
</CardContent>
<CardFooter className="flex gap-2">
<Button type="submit" onClick={handleSubmit}>Create</Button>
<div className="flex gap-2 mt-4">
<Button type="submit">Create</Button>
<Link href="/">
<Button type="button" variant="outline">Cancel</Button>
</Link>
</CardFooter>
</div>
</form>
</CardContent>
</Card>
)}
</div>
Expand Down

0 comments on commit 223124e

Please sign in to comment.