From 5c017955a656d85b577d96ffae059cb494cab254 Mon Sep 17 00:00:00 2001 From: Everett Pompeii <epompeii@protonmail.com> Date: Sun, 24 Nov 2024 21:18:00 -0500 Subject: [PATCH] rm_target --- .../console/deck/hand/card/ViewCard.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/services/console/src/components/console/deck/hand/card/ViewCard.tsx b/services/console/src/components/console/deck/hand/card/ViewCard.tsx index 0218f9727..d083f7867 100644 --- a/services/console/src/components/console/deck/hand/card/ViewCard.tsx +++ b/services/console/src/components/console/deck/hand/card/ViewCard.tsx @@ -1,19 +1,19 @@ +import * as Sentry from "@sentry/astro"; import type { Params } from "astro"; import { Match, Show, Switch, createMemo, createResource } from "solid-js"; import { Display } from "../../../../../config/types"; -import type CardConfig from "./CardConfig"; -import { authUser } from "../../../../../util/auth"; -import { httpGet } from "../../../../../util/http"; +import { fmtDateTime, resourcePath } from "../../../../../config/util"; import { Adapter, - ModelTest, type JsonBranch, type JsonProject, + ModelTest, } from "../../../../../types/bencher"; +import { authUser } from "../../../../../util/auth"; +import { httpGet } from "../../../../../util/http"; import { BACK_PARAM, encodePath } from "../../../../../util/url"; -import * as Sentry from "@sentry/astro"; -import { fmtDateTime, resourcePath } from "../../../../../config/util"; import { testFragment } from "../../../../field/kinds/Model"; +import type CardConfig from "./CardConfig"; export interface Props { isConsole?: boolean; @@ -306,10 +306,7 @@ const GitHashCard = (props: Props) => { const url = project()?.url; if (url && isGitHubRepoUrl(url)) { return ( - <a - href={`${url.endsWith("/") ? url : `${url}/`}commit/${props.value}`} - target="_top" - > + <a href={`${url.endsWith("/") ? url : `${url}/`}commit/${props.value}`}> {props.value as string} </a> );