mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-22 21:25:27 +00:00
Use git-commit as ty playground version instead of 0.0.0 (#18314)
This commit is contained in:
parent
e1b662bf5d
commit
5d93d619f3
6 changed files with 104 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ export default function Header({
|
|||
<div className="flex items-center min-w-0 gap-4 mx-2">
|
||||
{version ? (
|
||||
<div className="hidden sm:flex">
|
||||
<VersionTag>v{version}</VersionTag>
|
||||
<VersionTag>{version}</VersionTag>
|
||||
</div>
|
||||
) : null}
|
||||
<Divider />
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { ReactNode } from "react";
|
|||
export default function VersionTag({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<div
|
||||
title="Version"
|
||||
className={classNames(
|
||||
"text-gray-500",
|
||||
"text-xs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue