Skip to content

Commit

Permalink
potential fi
Browse files Browse the repository at this point in the history
  • Loading branch information
harshsbhat committed Dec 26, 2024
1 parent 7be9a03 commit f6ec33a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/components/controlModals/create-new-site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,12 @@ export function CreateNewSite({ params }: CreateSiteProps) {
</div>
<div className="mt-4 flex gap-2">
<Button type="submit">Create</Button>
<Link href="/">
<Button type="button" variant="outline">
Cancel
</Button>
</Link>
<Link href="/" passHref>
<Button type="button" variant="outline">
Cancel
</Button>
</Link>

</div>
</form>
</CardContent>
Expand Down
2 changes: 1 addition & 1 deletion src/components/controlModals/decrypt-old-site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function DecryptSite({ params, encryptedData }: DecryptProps) {
</div>
<div className="flex gap-2 mt-4">
<Button type="submit" >Decrypt</Button>
<Link href="/">
<Link href="/" passHref>
<Button type="button" variant="outline">Cancel</Button>
</Link>
</div>
Expand Down

0 comments on commit f6ec33a

Please sign in to comment.