From 83054d0cd1202426f2d64dba27592baf29e51e45 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 15 Oct 2025 17:04:00 +0200 Subject: [PATCH] Fix link opening in same tab --- web/components/searches/button.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/web/components/searches/button.tsx b/web/components/searches/button.tsx index 56133150..62ba7c51 100644 --- a/web/components/searches/button.tsx +++ b/web/components/searches/button.tsx @@ -9,9 +9,9 @@ import {formatFilters, locationType} from "common/searches"; import {FilterFields} from "common/filters"; import {api} from "web/lib/api"; import {DisplayUser} from "common/api/user-types"; -import {Link} from "@react-email/components"; import {useState} from "react"; import toast from "react-hot-toast"; +import Link from "next/link"; export function BookmarkSearchButton(props: { bookmarkedSearches: BookmarkedSearchesType[] @@ -180,12 +180,14 @@ function StarModal(props: { {visibleUsers.map((user) => (
  • - {user.name} ( - @{user.username} - ) {' '} + + {user.name} ( + @{user.username} + ) {' '} +