Skip to content

Commit

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

0 comments on commit 871dba9

Please sign in to comment.