import { Component, Show } from "solid-js"; import { CellValueVipC } from "../../../types/configCellComposed"; import { Abbr } from "../../Abbr"; import { useNavigate } from "@solidjs/router"; export const FieldVipC: Component<{ value: CellValueVipC; }> = (props) => { const navigate = useNavigate(); const onClick = () => { if (props.value.href) { // use 'navigate' instead of '